diff options
author | 2019-11-30 11:19:17 +0000 | |
---|---|---|
committer | 2019-11-30 11:19:17 +0000 | |
commit | de60e9182e3ea7b387cda2ea58c0a4cb67e2fb14 (patch) | |
tree | 0d9cc081abbdfb023b4de31f99779e04103d947a /lib/libcxx/src/algorithm.cpp | |
parent | Not being able to create a resolver is not a fatal condition in unwind, (diff) | |
download | wireguard-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