Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2003 13:09:04 -0800 (PST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_turnstile.c
Message-ID:  <200312092109.hB9L94oZ028387@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312092109.hB9L94oZ028387>