Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2001 17:32:51 -0700 (PDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys systm.h condvar.h src/sys/kern kern_synch.c kern_condvar.c
Message-ID:  <200107040032.f640Wpi26754@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
jake        2001/07/03 17:32:51 PDT

  Modified files:
    sys/sys              systm.h condvar.h 
    sys/kern             kern_synch.c kern_condvar.c 
  Log:
  Implement mwakeup, mwakeup_one, cv_signal_drop and cv_broadcast_drop.
  These take an additional mutex argument, which is dropped before any
  processes are made runnable.  This can avoid contention on the mutex
  if the processes would immediately acquire it, and is done in such a
  way that wakeups will not be lost.
  
  Reviewed by:	jhb
  
  Revision  Changes    Path
  1.142     +5 -3      src/sys/sys/systm.h
  1.3       +3 -1      src/sys/sys/condvar.h
  1.147     +14 -5     src/sys/kern/kern_synch.c
  1.10      +40 -1     src/sys/kern/kern_condvar.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?200107040032.f640Wpi26754>