@@ -99,10 +99,15 @@ /** * \return The current thread or nil if we are in the main thread */ + (OFThread*)currentThread; +/** + * Suspends execution of the current thread for N milliseconds. + */ ++ (void)sleepForNMilliseconds: (unsigned int)msecs; + /** * Terminates the current thread, letting it return nil. */ + (void)terminate;