Module: Threads Package: Synchronization
Global Function
#include <rw/sync/RWThreadId.h> RWThreadID
rwThreadId();
The rwThreadId() function returns an RWThreadId instance containing the thread id value associated with the calling thread. This id value is assigned by the underlying threads system. You may query for the thread id of any thread, regardless of its method of creation. Use the rwThreadHash() function to convert a thread id to a unique integer for the purpose of producing trace output and hash-table indexing.
RWThreadId, rwThreadHash
© 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.