Return the unique identifier for the thread with the specified handle.
Synopsis
Declared in <bslmt_threadutilimpl_pthread.h>
static
ThreadUtilImpl<bslmt::Platform::PosixThreads>::Id
handleToId(Handle const& threadHandle);
Description
Return the unique identifier of the thread having the specified threadHandle within the current process. Note that this value is only valid 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