diff options
author | Jaakko Heinonen <jh@FreeBSD.org> | 2010-11-22 16:47:53 +0000 |
---|---|---|
committer | Jaakko Heinonen <jh@FreeBSD.org> | 2010-11-22 16:47:53 +0000 |
commit | f7842e00f57fe6cfa3b337fbf078cad9fe291188 (patch) | |
tree | 8c264d57d00d8346acaa49f76072c5ea06e7e188 /crypto/openssl/crypto/asn1 | |
parent | 4ed8ca8f25d59b282672a41ceacb5030f08e73e6 (diff) | |
download | src-f7842e00f57fe6cfa3b337fbf078cad9fe291188.tar.gz src-f7842e00f57fe6cfa3b337fbf078cad9fe291188.zip |
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
Notes
Notes:
svn path=/head/; revision=215687
Diffstat (limited to 'crypto/openssl/crypto/asn1')
0 files changed, 0 insertions, 0 deletions