thread_yield - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=c/thread/thrd_yield&oldid=63560"