public class MutexKt
| Modifier and Type | Method and Description |
|---|---|
static Mutex |
Mutex(boolean locked)
Creates new
interface Mutex instance.
The mutex created is fair: lock is granted in first come, first served order. |
public static Mutex Mutex(boolean locked)
Creates new interface Mutex instance.
The mutex created is fair: lock is granted in first come, first served order.
locked - initial state of the mutex.interface Mutex