]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Rename the cv_*wait*() functions to _cv_*wait*() and change their second
authorjhb <jhb@FreeBSD.org>
Wed, 21 Mar 2007 22:22:13 +0000 (22:22 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 21 Mar 2007 22:22:13 +0000 (22:22 +0000)
commit29a0e4d380f757b23435fa91f828052c05d7fabe
treecab34dc7b313564085dcf4f17fc1d823447d693d
parentdee82f63223926cc8f13099524d77b36135890ea
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.
share/man/man9/condvar.9
sys/kern/kern_condvar.c
sys/sys/condvar.h