Return the unique identifier for the thread with the specified handle.
Declared in <bslmt_threadutil.h>
static
ThreadUtil::Id
handleToId(Handle const& threadHandle);
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.
unique identifier of the thread within the current process
| Name | Description |
|---|---|
| threadHandle | handle of the thread whose identifier is returned |