Date: Thu, 31 Dec 2009 00:09:47 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern subr_eventhandler.c Message-ID: <200912310017.nBV0HlgT063349@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
thompsa 2009-12-31 00:09:47 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/kern subr_eventhandler.c
Log:
SVN rev 201304 on 2009-12-31 00:09:47Z by thompsa
MFC r200652
If the runcount is non-zero in eventhandler_deregister() then one or more
threads are executing the eventhandler, sleep in this case to make it safe for
module unload. If the runcount was up then an entry would have been marked
EHE_DEAD_PRIORITY so use this as a trigger to do the wakeup in
eventhandler_prune_list().
Revision Changes Path
1.24.2.2 +7 -4 src/sys/kern/subr_eventhandler.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912310017.nBV0HlgT063349>
