thread_yield
From cppreference.com
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
(C11)
|
suspends execution of the calling thread for the given period of time (function) |