Global Function
None
Returns an RWThreadSelf object, if any, associated with the current thread.
#include <rw/thread/RWRunnableSelf.h> RWThreadSelf rwThread(void);
This function returns the internal thread handle, of type RWThreadSelf, associated with the current thread (if any). It will return an empty RWThreadSelf handle if the current thread was not started by a Threads.h++ threaded runnable object. The returned thread handle should be tested for validity, by using the isValid() member, if the code calling the function does not know that it is running in a thread started by a Threads.h++ thread object.
RWThreadSelf, RWHandleBase::isValid()
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.