3 Commits

Author SHA1 Message Date
Thomas Leonard
db4e8d527d Add safe wrapper for Unix.file_descr
OCaml's `file_descr` type can be used after being closed. In the best
case (the FD hasn't been reused), the kernel will return an error.
However, it may also perform the operation on an unrelated FD, breaking
modularity and causing bugs that are extremely hard to debug.
2021-04-14 10:12:40 +01:00
Thomas Leonard
1e45198671 Split promises into their own library 2021-04-14 09:21:06 +01:00
Thomas Leonard
65c75d9dcf Move io-uring implementation to a subdirectory 2021-03-18 09:17:47 +00:00