Thomas Leonard
Thomas Leonard
`capacity` and `is_full` look useful to me. `add_nonblocking` seems a bit complicated, and I'm not sure it's that useful: - With lablgtk the consumer will typically be in the same...
It's due to `Fiber.any` explicitly checking whether it's been cancelled before returning: https://github.com/ocaml-multicore/eio/blob/8f7f82d2c12076af8e9b8b365c58ebadaa963b8c/lib_eio/core/fiber.ml#L152-L154 I think it might be reasonable to change that to: ```ocaml match !r, Cancel.get_error parent_c with |...
I don't think so. Originally, `Fiber.any` didn't have a `combine` argument, so it was always expected that it was OK to throw away either result, and aborting early made sense....
If you're using cohttp-eio, it will close the connection for you as soon as the switch goes out of scope. Just make sure you're not sharing a single switch for...
Yes (but check it isn't negative first). (see also https://discuss.ocaml.org/t/detect-use-after-close-of-unix-file-descriptors/13766/8)