Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

rwYield


Global Function

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

None

Package

Threading

Declaration

#include <rw/thread/RWRunnableSelf.h>

void rwYield(void); 

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 Threads.h++ will not change the execution state of any runnable associated with that thread. To cause the Threads.h++ 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 DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.