Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Dec 2005 09:22:11 +0000
From:      Christoph Hellwig <hch@infradead.org>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: [RFC] Implement cv_wait_nolock(), for emulation of SGI's sv_wait()
Message-ID:  <20051208092211.GB9538@infradead.org>
In-Reply-To: <20051207224359.GA4320@crodrigues.org>
References:  <20051207224359.GA4320@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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