18528470cb
Blocking on locks and condition variables can be accomplished by polling and using the special filters CONDVAR, LOCK_RDLOCK and LOCK_WRLOCK. For now it wouldn't make sense to implement this functionality into kqueue() itself, for the reason that they are CloudABI specific and would require us to resize 'struct kevent' to hold all of the parameters of interest. Add a bandaid to the CloudABI poll system call to call into the futex code directly if it detects specific combinations of events that are used by the C library. Obtained from: https://github.com/NuxiNL/freebsd |
||
---|---|---|
.. | ||
cloudabi64_fd.c | ||
cloudabi64_poll.c | ||
cloudabi64_proto.h | ||
cloudabi64_sock.c | ||
cloudabi64_syscall.h | ||
cloudabi64_syscalldefs.h | ||
cloudabi64_syscalls.c | ||
cloudabi64_sysent.c | ||
cloudabi64_systrace_args.c | ||
cloudabi64_thread.c | ||
cloudabi64_util.h | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |