Package kotlinx.coroutines.experimental.sync
Platform and version requirements: JVM
Synchronization primitives (mutex).
Types
interface MutexMutual exclusion for coroutines. |
Functions
|
Creates new Mutex instance. The mutex created is fair: lock is granted in first come, first served order. |
|
|
Executes the given action under this mutex’s lock. |