242
243
244
245
246
247
248
249
250
251
252
253
254
255
|
+ (void)sleepUntilDate: (OFDate *)date;
/**
* @brief Yields a processor voluntarily and moves the thread to the end of the
* queue for its priority.
*/
+ (void)yield;
#ifdef OF_HAVE_THREADS
/**
* @brief Terminates the current thread, letting it return `nil`.
*/
+ (void)terminate OF_NO_RETURN;
|
>
>
>
>
>
>
>
>
>
>
|
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
|
+ (void)sleepUntilDate: (OFDate *)date;
/**
* @brief Yields a processor voluntarily and moves the thread to the end of the
* queue for its priority.
*/
+ (void)yield;
#if defined(OF_WII) || defined(OF_NINTENDO_DS) || defined(OF_NINTENDO_3DS) || \
defined(DOXYGEN)
/**
* @brief Waits for the vertical blank.
*
* @note This method is only available on Wii, Nintendo DS and Nintendo 3DS.
*/
+ (void)waitForVerticalBlank;
#endif
#ifdef OF_HAVE_THREADS
/**
* @brief Terminates the current thread, letting it return `nil`.
*/
+ (void)terminate OF_NO_RETURN;
|