Namespaces
Variants
Views
Actions

thread_yield

From cppreference.com
< c‎ | thread
Revision as of 17:36, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <threads.h>
void thrd_yield();
(since C11)

Provides a hint to the implementation to reschedule the execution of threads, allowing other threads to run.

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] See also

suspends execution of the calling thread for the given period of time
(function) [edit]