summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/src/algorithm.cpp
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-11-30 11:19:17 +0000
committervisa <visa@openbsd.org>2019-11-30 11:19:17 +0000
commitde60e9182e3ea7b387cda2ea58c0a4cb67e2fb14 (patch)
tree0d9cc081abbdfb023b4de31f99779e04103d947a /lib/libcxx/src/algorithm.cpp
parentNot being able to create a resolver is not a fatal condition in unwind, (diff)
downloadwireguard-openbsd-de60e9182e3ea7b387cda2ea58c0a4cb67e2fb14.tar.xz
wireguard-openbsd-de60e9182e3ea7b387cda2ea58c0a4cb67e2fb14.zip
Move kernel locking inside the sleep machinery. This enables calling
rwsleep(9) with PCATCH and rw_enter(9) with RW_INTR without the kernel lock. In addition, now tsleep(9) with PCATCH should be safe to use without the kernel lock if the sleep is purely time-based. Tested by anton@, cheloha@, chris@ OK anton@, cheloha@
Diffstat (limited to 'lib/libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions