Skip to content

Commit a456122

Browse files
committed
Introduce SegmentQueueSynchronizer abstraction for synchronization primitives
1 parent 3744f8e commit a456122

File tree

5 files changed

+1454
-176
lines changed

5 files changed

+1454
-176
lines changed

Diff for: kotlinx-coroutines-core/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ task jvmStressTest(type: Test, dependsOn: compileTestKotlinJvm) {
119119
enableAssertions = true
120120
testLogging.showStandardStreams = true
121121
systemProperty 'kotlinx.coroutines.scheduler.keep.alive.sec', '100000' // any unpark problem hangs test
122-
systemProperty 'kotlinx.coroutines.semaphore.segmentSize', '2'
123-
systemProperty 'kotlinx.coroutines.semaphore.maxSpinCycles', '10'
122+
systemProperty 'kotlinx.coroutines.sqs.segmentSize', '2'
123+
systemProperty 'kotlinx.coroutines.sqs.maxSpinCycles', '10'
124124
}
125125

126126
task jdk16Test(type: Test, dependsOn: [compileTestKotlinJvm, checkJdk16]) {

0 commit comments

Comments
 (0)