]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Contributions from XFS for FreeBSD project:
authorrodrigc <rodrigc@FreeBSD.org>
Mon, 12 Dec 2005 00:02:22 +0000 (00:02 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Mon, 12 Dec 2005 00:02:22 +0000 (00:02 +0000)
commit4377e3b906f68937a8dca335993c27b24923c9c3
tree193e281b1a05b4ca90f96954bb92e5d56807fc8a
parent16b60b222455d355c26bee796cfca71f5b34f6cc
Contributions from XFS for FreeBSD project:
- Implement cv_wait_unlock() method which has semantics compatible
  with the sv_wait() method in IRIX.  For cv_wait_unlock(), the lock
  must be held before entering the function, but is not held when the
  function is exited.

- Implement the existing cv_wait() function in terms of cv_wait_unlock().

Submitted by: kan
Feedback from: jhb, trhodes, Christoph Hellwig <hch at infradead dot org>
sys/kern/kern_condvar.c
sys/sys/condvar.h