cvs commit: src/sys/kern kern_event.c

Konstantin Belousov kib at FreeBSD.org
Sat May 24 03:36:20 UTC 2008


kib         2008-05-24 03:36:19 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/kern             kern_event.c 
  Log:
  MFC rev. 1.120:
  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.
  
  Revision   Changes    Path
  1.113.2.2  +10 -1     src/sys/kern/kern_event.c


More information about the cvs-src mailing list