diff options
author | 2012-03-25 20:33:52 +0000 | |
---|---|---|
committer | 2012-03-25 20:33:52 +0000 | |
commit | 89ce1a60979493ef5f665ad261f9f5af951e1e0a (patch) | |
tree | 8daf10e78ef9581872d089d567306489d0c3f236 /sys/kern/subr_hibernate.c | |
parent | strsignal() was added to POSIX-2008; strerror_r() was in the base (diff) | |
download | wireguard-openbsd-89ce1a60979493ef5f665ad261f9f5af951e1e0a.tar.xz wireguard-openbsd-89ce1a60979493ef5f665ad261f9f5af951e1e0a.zip |
release the file ref to the kqueue while in kevent(), so that close()
can terminate. a new ref on the kqueue itself allows us to free it
properly in that case. wakeups were missing too (for both kevent and poll).
similar to netbsd pr46248. fixes a number of threaded ports.
this version of the fix from matthew.
ok tedu guenther matthew
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions