fun Mutex(locked: Boolean = false): Mutex
Platform and version requirements: JVM
Creates new Mutex instance. The mutex created is fair: lock is granted in first come, first served order.
locked - initial state of the mutex.
locked