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

Avoid spawning fibers in cancelation test #230

Closed polytypic closed 2 months ago

polytypic commented 2 months ago

It is not necessary to spawn fibers and doing so is very expensive on OCaml 4.

It might be that this was the reason the test seems to hang occasionally on some OCaml 4 test machines. Could something go wrong and cause a thread never to run on OCaml 4?