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

Try to avoid poll in `Control.terminate_after` between critical ops #187

Closed polytypic closed 3 months ago

polytypic commented 3 months ago

During a poll point the OCaml runtime may e.g. handle Ctrl-C (i.e. SIGINT) and raise an asynchronous exception that could cause leaks.