summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/mp_machdep.c
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2015-08-12 08:41:48 +0000
committered <ed@FreeBSD.org>2015-08-12 08:41:48 +0000
commitaa4ad58f86b7a49c39a2491f4738a26a72687ef6 (patch)
tree973ec96c0f389d2d9b416320fa9f01456a9b34eb /sys/amd64/amd64/mp_machdep.c
parent716a59528454fbb4f9888c9747ff9569d189bc9d (diff)
downloadFreeBSD-src-aa4ad58f86b7a49c39a2491f4738a26a72687ef6.zip
FreeBSD-src-aa4ad58f86b7a49c39a2491f4738a26a72687ef6.tar.gz
Make blocking CloudABI futex operations work.
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
Diffstat (limited to 'sys/amd64/amd64/mp_machdep.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud