thread_yield

From cppreference.com
< c | thread
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)