Module: Threads Package: Threading
Global Function
#include <rw/thread/RWRunnableSelf.h> void rwYield();
This function causes the calling thread to yield execution to another thread waiting to be scheduled. The calling thread will be placed back on the queue of runnable threads until the scheduler decides to run it again. Calling this function from within a thread created using the Threads Module will not change the execution state of any runnable associated with that thread. To cause the Threads Module thread to register a runnable state change for the yield operation, use the RWRunnnableSelf::yield() member function of the runnable handle.
RWRunnableSelf::yield()
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.