eio
eio copied to clipboard
Effects-based direct-style IO for multicore OCaml
Turns out the kernel needs to handle blocking file descriptors differently, it needs to do thread-pooling and it's a different code path (also slower). It also seems that this is...
- https://github.com/ocaml-multicore/eio/issues/244 seemed like it had a different scope (specific to `accept_fork`), so I opened a new one. - I'm hitting a case where I sometimes end up calling `Eio.Flow.close`...
Right now both `Eio.Net.{connect,accept}` return a socket, but I didn't find a way to e.g. set `TCP_NODELAY` on the stream socket. Did I miss an API?
I couldn't get eio to handle my signals while another fiber is running (even if sleeping). Take this pathological case: ```ocaml open Eio.Std let () = Sys.( set_signal sigint (Signal_handle...
Is this function missing from `eio`, or is one supposed to use the one in the `unix` library (via `eio_unix`)?
As part of #510 this PR adds symlink support to `Eio_posix` and `Eio_linux` with a stubbed out implementation on Windows. I updated all the uses of `Unix.symlink` in the FS...
Introduce wrappers that can turn any function `f : a -> b` into a new function that runs with a wrapped mutex. `a` can even be a mutable value that...
Hello there, I was trying to build a TCP server to handle some client requests, I followed example in the README, it works. But when I make multiple messages in...
I'm looking to port some existing code which does a [bind before connect](https://idea.popcount.org/2014-04-03-bind-before-connect/) and couldn't find a way to do it with Eio. I wasn't familiar with this trick, but...