OSSingleton.getThreadCallerId

Returns the ID of the current thread. This can be used in logs to ease debugging of multi-threaded applications. Note: Thread IDs are not deterministic and may be reused across application restarts.

struct OSSingleton
@nogc nothrow const
long
getThreadCallerId
()

Meta