Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 22:22:13 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/share/man/man9 condvar.9 src/sys/kern kern_condvar.c src/sys/sys condvar.h
Message-ID:  <200703212222.l2LMMEs7036602@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-03-21 22:22:13 UTC

  FreeBSD src repository

  Modified files:
    share/man/man9       condvar.9 
    sys/kern             kern_condvar.c 
    sys/sys              condvar.h 
  Log:
  Rename the cv_*wait*() functions to _cv_*wait*() and change their second
  argument from a mutex to a lock_object.  Add cv_*wait*() wrapper macros
  that accept either a mutex, rwlock, or sx lock as the second argument and
  convert it to a lock_object and then call _cv_*wait*().  Basically, the
  visible difference is that you can now use rwlocks and sx locks with
  condition variables using the same API as with mutexes.
  
  Revision  Changes    Path
  1.18      +17 -9     src/share/man/man9/condvar.9
  1.60      +58 -51    src/sys/kern/kern_condvar.c
  1.14      +17 -6     src/sys/sys/condvar.h



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