Return the unique identifier for the thread with the specified handle.
Synopsis
Declared in <bslmt_threadutil.h>
static
ThreadUtil::Id
handleToId(Handle const& threadHandle);
Description
Return the unique identifier of the thread having the specified threadHandle within the current process. The behavior is undefined unless handle was obtained by a call to create or self. Note that this value is valid only until the thread terminates, and may be reused thereafter.
Return Value
unique identifier of the thread within the current process
Parameters
Name |
Description |
threadHandle |
handle of the thread whose identifier is returned |
Created with MrDocs