[RFC] Implement cv_wait_nolock(),
for emulation of SGI's sv_wait()
Christoph Hellwig
hch at infradead.org
Thu Dec 8 01:22:27 PST 2005
On Wed, Dec 07, 2005 at 05:43:59PM -0500, Craig Rodrigues wrote:
> Hi,
>
> As part of the XFS for FreeBSD project, Alexander Kabaev
> implemented a cv_wait_nolock() function for compatibility
> with SGI's sv_wait() call:
> http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=0650&db=man&fname=/usr/share/catman/p_man/catD/SV_WAIT.z
>
> sv_wait() waits on a synchronization variable, the lock must be held
> before the call is entered, but the lock is not held when sv_wait() is
> exited.
The name sounds odd. I'd rather all it cv_wait_unlock.
More information about the freebsd-arch
mailing list