Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 23:43:41 +0800
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, Robert Watson <rwatson@freebsd.org>, current@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: FILEDESC_LOCK() implementation
Message-ID:  <200606122343.42246.davidxu@freebsd.org>
In-Reply-To: <34009.1150095661@critter.freebsd.dk>
References:  <34009.1150095661@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 12 June 2006 15:01, Poul-Henning Kamp wrote:
> In message <20060612075515.C26634@fledge.watson.org>, Robert Watson writes:
> >What we probably want is an sx_init_interlock() that allows us to provide
> > the interlock for an sx lock, wich some variations on sx_*lock() to say
> > we already hold the interlock.
>
> Sounds overly complicated to use.
>
> Why not just a sx_xlockfast() sx_xunlockfast() ? for some value of "fast" ?

I thought it is a rwlock, but it is not in fact, a bit disappointing.





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