scoop:scoop.platform:0.1.0
scoop.platform.concurrent
API
-
class
ConditionVariable
A native condition variable associated with one mutex. Wait while holding that mutex and recheck the application predicate after waking.
-
class
Mutex
An owned native mutex. Pair lock/unlock on the owning thread or use withLock; dispose only when no operation or held lock remains.
-
class
Thread
An owned native thread running a managed non-suspending function. Join or dispose to observe completion and any captured exception.
-
struct
ThreadId
A native thread identity suitable for equality and hashing within this process.
-
function
currentThreadId
Returns the identity of the calling native thread.
-
function
yield
Offers the current thread's execution opportunity to the operating-system scheduler.