Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwYield()

Module:  Threads   Package:  Threading


Global Function

Local Index

No Entries

Declaration

#include <rw/thread/RWRunnableSelf.h>

void rwYield(); 

Description

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.

See Also

RWRunnableSelf::yield()



Previous fileTop of DocumentContentsIndex pageNext file

© 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.