treessence / fr.bipi.tressence.common.os / OsInfoProvider / currentThreadId

currentThreadId

abstract val currentThreadId: Long

Returns the identifier of current Thread. The thread ID is a positive long number generated when current thread was created. The thread ID is unique and remains unchanged during its lifetime. When a thread is terminated, this thread ID may be reused.

Return
current thread's ID.