FILEDESC_LOCK() implementation
David Xu
davidxu at freebsd.org
Mon Jun 12 15:43:52 UTC 2006
On Monday 12 June 2006 15:01, Poul-Henning Kamp wrote:
> In message <20060612075515.C26634 at 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.
More information about the freebsd-current
mailing list