Re: FILEDESC_LOCK() implementation

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 12 Jun 2006 07:01:01 +0000
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" ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Mon Jun 12 2006 - 05:01:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:57 UTC