BloombergLP::bslmt::ThreadUtilImpl<Platform::PosixThreads>::selfIdAsInt

Return an integeral identifier that can be used to uniquely identify the current thread within the current process. This representation is particularly useful for logging purposes. Note that this value is only valid until the thread terminates and may be reused thereafter.

Synopsis

Declared in <bslmt_threadutilimpl_pthread.h>

static
bsls::Types::Uint64
selfIdAsInt();

Description

DEPRECATED: Use selfIdAsUint64 instead.