API Reference › Sync › Sync.lock
method

Sync.lock

Sync.lock(mutex) -> void

Take the lock.

Example

let m = Sync.mutex()
Sync.lock(m)
← All symbols