cvs commit: src/sys/kern kern_event.c

From: Konstantin Belousov <>
Date: Mon, 7 Jul 2008 09:15:29 +0000 (UTC)
kib         2008-07-07 09:15:29 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_event.c 
  SVN rev 180336 on 2008-07-07 09:15:29Z by kib
  The r178914 I erronously put the setting of the KQ_FLUXWAIT flag before
  KQ_FLUX_WAKEUP(). Since the later macro clears the KQ_FLUXWAIT, the
  kqueue_scan() thread may be not woken up.
  Move the setting of KQ_FLUXWAIT after wakeup to correct the issue.
  Reported and tested by: pho
  MFC after:      3 days
  Revision  Changes    Path
  1.121     +1 -2      src/sys/kern/kern_event.c
Received on Mon Jul 07 2008 - 09:15:36 UTC