diff options
author | jh <jh@FreeBSD.org> | 2010-11-22 16:47:53 +0000 |
---|---|---|
committer | jh <jh@FreeBSD.org> | 2010-11-22 16:47:53 +0000 |
commit | 9c043d590896a77d5d66b978a963573a41d66ad3 (patch) | |
tree | 8c264d57d00d8346acaa49f76072c5ea06e7e188 /crypto/openssl/PROBLEMS | |
parent | 40b50edac393cf5770259c50d9e268b957a76878 (diff) | |
download | FreeBSD-src-9c043d590896a77d5d66b978a963573a41d66ad3.zip FreeBSD-src-9c043d590896a77d5d66b978a963573a41d66ad3.tar.gz |
Use g_eventlock to protect against losing wakeups in the g_event process
and replace tsleep(9) with msleep(9) which doesn't use a timeout. The
previously used timeout caused the event process to wake up ten times
per second on an idle system.
one_event() is now called with the topology lock held and it returns
with both the topology and event locks held when there are no more
events in the queue.
Reported by: mav, Marius NĂ¼nnerich
Reviewed by: freebsd-geom
Diffstat (limited to 'crypto/openssl/PROBLEMS')
0 files changed, 0 insertions, 0 deletions