Namespaces
Variants
Views
Actions

std::this_thread::yield

From cppreference.com
< cpp‎ | thread
Revision as of 17:47, 19 April 2012 by P12bot (Talk | contribs)

Template:cpp/thread/sidebar

Defined in header <thread>
void yield();
(since C++11)

Hints the implementation to reschedule the execution of threads. Another thread may continue execution after the call to this function.

Parameters

(none)

Return value

(none)

Example