Global Function
None
#include <rw/thread/RWRunnableSelf.h> RWRunnableSelf rwRunnable();
Retrieves an RWRunnableSelf handle for the current runnable object associated with the calling thread. If the calling thread was created by some means other than those provided by the Threads.h++ library, then this function will return an empty runnable handle. If the thread was created by a Threads.h++ runnable class, then the runnable returned will be the current, inner-most nested runnable. If the code calling this function cannot be sure of the source of the calling thread, then it should test the validity of the returned handle, before using it, by testing the result of a call to the isValid() member of the handle.
RWRunnableSelf, RWRunnableHandle::isValid()
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.