Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2001 14:08:57 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_synch.c
Message-ID:  <200108102108.f7AL8vg02190@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2001/08/10 14:08:57 PDT

  Modified files:
    sys/kern             kern_synch.c 
  Log:
  Work around a race between msleep() and endtsleep() where it was possible
  for endtsleep() to be executing when msleep() resumed, for endtsleep()
  to spin on sched_lock long enough for the other process to loop on
  msleep() and sleep again resulting in endtsleep() waking up the "wrong"
  msleep.
  
  Obtained from:	BSD/OS
  
  Revision  Changes    Path
  1.154     +24 -4     src/sys/kern/kern_synch.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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