aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/openssl/ssl/d1_enc.c
diff options
context:
space:
mode:
authorJaakko Heinonen <jh@FreeBSD.org>2010-11-22 16:47:53 +0000
committerJaakko Heinonen <jh@FreeBSD.org>2010-11-22 16:47:53 +0000
commitf7842e00f57fe6cfa3b337fbf078cad9fe291188 (patch)
tree8c264d57d00d8346acaa49f76072c5ea06e7e188 /crypto/openssl/ssl/d1_enc.c
parent4ed8ca8f25d59b282672a41ceacb5030f08e73e6 (diff)
downloadsrc-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/ssl/d1_enc.c')
0 files changed, 0 insertions, 0 deletions