summaryrefslogtreecommitdiffstats
path: root/usr.sbin/setfib
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2008-05-10 11:37:05 +0000
committerkib <kib@FreeBSD.org>2008-05-10 11:37:05 +0000
commit9a39931e9b38b41d89ceff4cce90f53d0481fc8f (patch)
treeb0a19b1d462442a84e999ac884cce5589c1c0243 /usr.sbin/setfib
parent0f388c4977a67dd0f9ef74c78b2ce8af28a78eee (diff)
downloadFreeBSD-src-9a39931e9b38b41d89ceff4cce90f53d0481fc8f.zip
FreeBSD-src-9a39931e9b38b41d89ceff4cce90f53d0481fc8f.tar.gz
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
Diffstat (limited to 'usr.sbin/setfib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud