mirror of
https://github.com/ocaml-multicore/eio.git
synced 2025-08-22 00:03:23 -04:00
There was some code for recording the fibre result duplicated in each backend. Also, it didn't do much because we handle errors before that. And for `fork_promise` we want to report the result against the promise. Also, optimise Cancel.cancel slightly. No need to make a new context for the cancel functions if there aren't any.