Skip to content

SharedMutex

graph BT
N1["SharedMutex"] -->|inherits| N2["Any"];

Characteristics

Quality Value
Inherits global.Any
Extends N/A
Decorators #sealed;
Is enum false
Is sealed true
Is extern false
Is abstract false
Is generator false
Has value semantics false
Has stored properties true
Should register destructor true
Has atomic memory false
Is copy assignable false
Is zero initializable false

Methods

construct

construct (s strictly @Self) -> Self

lock

lock (s @Self) -> Nil

try_lock

try_lock (s @Self) -> Bool

try_lock_for

try_lock_for (s @Self, duration Time) -> Bool

try_lock_until

try_lock_until (s @Self, time Time) -> Bool

unlock

unlock (s @Self) -> Nil

shared_lock

shared_lock (s @Self) -> Nil

shared_try_lock

shared_try_lock (s @Self) -> Bool

shared_try_lock_for

shared_try_lock_for (s @Self, duration Time) -> Bool

shared_try_lock_until

shared_try_lock_until (s @Self, time Time) -> Bool

shared_unlock

shared_unlock (s @Self) -> Nil

Properties

__ptr

__ptr Pointer