c-cube / moonpool

Commodity thread pools and concurrency primitives for OCaml 5
https://c-cube.github.io/moonpool/
54 stars 4 forks source link

fix fiber: use a single fut/computation in fibers #34

Closed c-cube closed 1 month ago

c-cube commented 1 month ago

otherwise we check the wrong computation for cancellation, see https://discuss.ocaml.org/t/confused-about-moonpool-cancellation/15381