Date: Tue, 14 Nov 2000 10:23:00 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys eventhandler.h Message-ID: <200011141823.KAA89218@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2000/11/14 10:23:00 PST
Modified files:
sys/sys eventhandler.h
Log:
Only hold the mutex for an eventhandler list while the list is being accessed.
Specifically, don't hold the lock while calling event handlers as a handler
may tsleep() while holding the mutex.
Found by: witness
Revision Changes Path
1.14 +6 -4 src/sys/sys/eventhandler.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011141823.KAA89218>
