Global Function
None
Puts the calling thread to sleep for a specified time period.
#include <rw/thread/RWRunnableSelf.h> void rwSleep(unsigned long milliseconds);
Use this function to put the calling thread to sleep for the specified number of milliseconds (thousandths of a second). 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 sleep operation, use the RWRunnableSelf::sleep() member function of the current runnable.
RWRunnableSelf::sleep
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.