Add multithreading module: odd-even, ping-pong, ordered threads, deadlock detection and fixes, virtual-thread variants (25 tests)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
carrier parallelism = 1
|
||||
OddEvenWaitNotify on virtual threads, max=10
|
||||
[odd:1, even:2, odd:3, even:4, odd:5, even:6, odd:7, even:8, odd:9, even:10]
|
||||
Round robin: 1000 virtual threads, max=3000 -> 3000 events
|
||||
first 3: [worker-1:1, worker-2:2, worker-3:3]
|
||||
last 3: [worker-998:2998, worker-999:2999, worker-1000:3000]
|
||||
Reference in New Issue
Block a user