BloombergLP::bslmt::ThreadUtil::selfId

Return an identifier that can be used to uniquely identify the current thread within the current process. Note that the identifier is only valid until the thread terminates and may be reused thereafter.

Synopsis

Declared in <bslmt_threadutil.h>

static
ThreadUtil::Id
selfId();