Package-level declarations

Types

Link copied to clipboard
interface BaseLock
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Reentrant typical lock.

Link copied to clipboard

Optimized lock that cannot be called inside another lock, don't keep the current thread id, or a list of threads to awake It is lightweight and just requires an atomic. Does busy-waiting instead of sleeping the thread.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
inline operator fun <T> ReentrantLock.invoke(callback: () -> T): T
Link copied to clipboard
inline fun <T> Lock.notify(block: () -> T): T
Link copied to clipboard
fun timespec.toDuration(): Duration
Link copied to clipboard
fun Duration.toTimespec(out: timespec): timespec
Link copied to clipboard
Link copied to clipboard