cvs commit: src/sys/kern kern_event.c
Konstantin Belousov
kib at FreeBSD.org
Sat May 10 11:37:05 UTC 2008
kib 2008-05-10 11:37:05 UTC
FreeBSD src repository
Modified files:
sys/kern kern_event.c
Log:
Kqueue_scan() may sleep when encountered the influx knotes. On the other
hand, it may cause other threads to sleep since kqueue_scan() may mark
some knotes as infux. This could lead to the deadlock.
Before kqueue_scan() sleeps, wakeup the threads that are waiting for the
influx knotes produced by this thread.
Tested by: pho (previous version)
Reviewed by: jmg
MFC after: 2 weeks
Revision Changes Path
1.120 +10 -1 src/sys/kern/kern_event.c
More information about the cvs-src
mailing list