ocaml-multicore / picos

Interoperable effects based concurrency
https://ocaml-multicore.github.io/picos/doc/picos/index.html
ISC License
86 stars 3 forks source link

Test cross scheduler wakeup #266

Closed polytypic closed 1 month ago

polytypic commented 1 month ago

Working to port Kcas to Picos I noticed some (I believe) lost wakeups causing benchmarks to never finish. This test exercises a similar scenario, running schedulers on two domains. This doesn't seem to reproduce the issue however. The mutex and condition cancelation test also works on all the schedulers (at least on macOS).