Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 21:17:13 +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:  <200912172117.nBHLHQ7g055045@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
thompsa     2009-12-17 21:17:13 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_eventhandler.c 
  Log:
  SVN rev 200652 on 2009-12-17 21:17:13Z by thompsa
  
  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().
  
  Reviewed by:    jhb
  
  Revision  Changes    Path
  1.25      +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?200912172117.nBHLHQ7g055045>