cvs commit: src/sys/kern subr_turnstile.c

John Baldwin jhb at FreeBSD.org
Tue Dec 9 13:09:07 PST 2003


jhb         2003/12/09 13:09:04 PST

  FreeBSD src repository

  Modified files:
    sys/kern             subr_turnstile.c 
  Log:
  Revert the previous race fix and replace it with a more general fix.  The
  case of a turnstile having no threads is just one instance of the more
  general case where the thread we are examining has been partially awakened
  already in that it has been removed from the turnstile's blocked list but
  still has TDI_LOCK set.  We detect that case by checking to see if the
  thread has already had a turnstile reassigned to it.
  
  Revision  Changes    Path
  1.135     +9 -8      src/sys/kern/subr_turnstile.c


More information about the cvs-all mailing list