Return a unique integral identifier for the specified thread.
Synopsis
Declared in <bslmt_threadutil.h>
static
int
idAsInt(Id const& threadId);
Description
Return the unique integral identifier of a thread uniquely identified by the specified threadId within the current process. Note that this representation is particularly useful for logging purposes. Also note that this value is only valid until the thread terminates and may be reused thereafter.
DEPRECATED: use idAsUint64.
Return Value
unique integral identifier for the thread
Parameters
Name |
Description |
threadId |
thread identifier to convert |
Created with MrDocs