4e1847781b
The most important change in this release is the removal of the poll_fd() system call; CloudABI's equivalent of kevent(). Though I think that kqueue is a lot saner than many of its alternatives, our experience is that emulating this system call on other systems accurately isn't easy. It has become a complex API, even though I'm not convinced this complexity is needed. This is why we've decided to take a different approach, by looking one layer up. We're currently adding an event loop to CloudABI's C library that is API compatible with libuv (except when incompatible with Capsicum). Initially, this event loop will be built on top of plain inefficient poll() calls. Only after this is finished, we'll work our way backwards and design a new set of system calls to optimize it. Interesting challenges will include integrating asynchronous I/O into such a system call API. libuv currently doesn't aio(4) on Linux/BSD, due to it being unreliable and having undesired semantics. Obtained from: https://github.com/NuxiNL/cloudabi |
||
---|---|---|
.. | ||
cloudabi32_fd.c | ||
cloudabi32_module.c | ||
cloudabi32_poll.c | ||
cloudabi32_proto.h | ||
cloudabi32_sock.c | ||
cloudabi32_syscall.h | ||
cloudabi32_syscalls.c | ||
cloudabi32_sysent.c | ||
cloudabi32_systrace_args.c | ||
cloudabi32_thread.c | ||
cloudabi32_util.h | ||
Makefile | ||
syscalls.conf |