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 5c4a252 commit 9b06a69Copy full SHA for 9b06a69
kotlinx-coroutines-core/common/src/sync/Mutex.kt
@@ -42,7 +42,7 @@ public interface Mutex {
42
public fun tryLock(owner: Any? = null): Boolean
43
44
/**
45
- * Locks this mutex, suspending caller while the mutex is locked.
+ * Locks this mutex, suspending caller until the lock is acquired (in other words, while the lock is held elsewhere).
46
*
47
* This suspending function is cancellable. If the [Job] of the current coroutine is cancelled or completed while this
48
* function is suspended, this function immediately resumes with [CancellationException].
0 commit comments