interface OsInfoProvider
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. |
|
abstract val currentTimeMillis: Long
Returns the current time in milliseconds. Note that while the unit of time of the return value is a millisecond, the granularity of the value depends on the underlying operating system and may be larger. For example, many operating systems measure time in units of tens of milliseconds. |
class OsInfoProviderDefault : OsInfoProvider |