Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Threads Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwThreadId()

Module:  Threads   Package:  Synchronization


Global Function

Local Index

No Entries

Declaration

#include <rw/sync/RWThreadId.h>

RWThreadID
rwThreadId();

Description

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.

See Also

RWThreadId, rwThreadHash



Previous fileTop of DocumentContentsIndex pageNext file

© 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.