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.
Semaphore.acquire()
1 parent 05f7d5d commit 7c6c72fCopy full SHA for 7c6c72f
kotlinx-coroutines-core/jvm/test/lincheck/SemaphoreLincheckTest.kt
@@ -16,7 +16,7 @@ abstract class SemaphoreLincheckTestBase(permits: Int) : AbstractLincheckTest()
16
@Operation
17
fun tryAcquire() = semaphore.tryAcquire()
18
19
- @Operation(promptCancellation = true)
+ @Operation(promptCancellation = true, allowExtraSuspension = true)
20
suspend fun acquire() = semaphore.acquire()
21
22
@Operation(handleExceptionsAsResult = [IllegalStateException::class])
0 commit comments