@@ -104,10 +104,16 @@ /** * Suspends execution of the current thread for N milliseconds. */ + (void)sleepForNMilliseconds: (unsigned int)msecs; +/** + * Yields a processor voluntarily and moves the thread at the end of the queue + * for its priority. + */ ++ (void)yield; + /** * Terminates the current thread, letting it return nil. */ + (void)terminate;