aboutsummaryrefslogtreecommitdiff
path: root/lib/std/array_list.zig
diff options
context:
space:
mode:
authorSébastien Marie <semarie@online.fr>2021-09-04 07:16:26 +0000
committerAndrew Kelley <andrew@ziglang.org>2021-09-07 14:59:33 -0400
commitc2f585e4357f07761c522d67568ecedf8d22c668 (patch)
tree97d9ace7857cfbc30518dfc7c5d5d5142823a927 /lib/std/array_list.zig
parentf1126e854c9dbe6a58cef66b380c0a7bb95f06d4 (diff)
downloadzig-c2f585e4357f07761c522d67568ecedf8d22c668.tar.gz
zig-c2f585e4357f07761c522d67568ecedf8d22c668.zip
openbsd: event loop: use EVFILT_TIMER instead of EVFILT_USER
OpenBSD doesn't implement EVFILT_USER filter for kqueue(2), so we couldn't use that for event loop. instead, use a EVFILT_TIMER filter with EV_ONESHOT (trigger only once) and delay 0sec (which trigger immediatly). it fits the usage of EVFILT_USER which is only used to "wakeup" the kevent(2) call from userland.
Diffstat (limited to 'lib/std/array_list.zig')
0 files changed, 0 insertions, 0 deletions