Namespaces
Variants
Views
Actions

std::this_thread::yield

From cppreference.com
< cpp‎ | thread
Revision as of 18:10, 2 August 2011 by P12bot (Talk | contribs)

Template:cpp/thread/sidebar

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.

Parameters

Template:param none

Return value

Template:return none

Example

Template:example cpp