Difference between revisions of "cpp/thread/yield"
From cppreference.com
m (Text replace - "<!-- ======== --> " to "") |
(fix) |
||
Line 2: | Line 2: | ||
{{cpp/thread/sidebar}} | {{cpp/thread/sidebar}} | ||
{{ddcl | header=thread | notes={{mark c++11 feature}} | 1= | {{ddcl | header=thread | notes={{mark c++11 feature}} | 1= | ||
− | void yield; | + | void yield(); |
}} | }} | ||
Revision as of 23:07, 15 August 2011
Defined in header <thread>
|
||
void yield(); |
Template:mark c++11 feature | |
Hints the implementation to reschedule the execution of threads. Another thread may continue execution after the call to this function.