We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0597e7 commit f1a24b1Copy full SHA for f1a24b1
kotlinx-coroutines-core/src/main/kotlin/kotlinx/coroutines/experimental/sync/Mutex.kt
@@ -100,6 +100,8 @@ public interface Mutex {
100
101
/**
102
* Creates new [Mutex] instance.
103
+ * The mutex created is fair: lock is granted in first come, first served order.
104
+ *
105
* @param locked initial state of the mutex.
106
*/
107
public fun Mutex(locked: Boolean = false): Mutex = MutexImpl(locked)
0 commit comments