FILEDESC_LOCK() implementation
Poul-Henning Kamp
phk at phk.freebsd.dk
Mon Jun 12 07:40:16 UTC 2006
In message <20060612080504.W26634 at fledge.watson.org>, Robert Watson writes:
>At least in the VFS and socket code, you want a notion of acquiring both and
>dropping one, or upgrading/downgrading. The logic tends to go something like
>this:
That's different from what FILEDESC needs. FILEDESC has two different
classes of operations: cheap/non-sleeping and expensive/sleeping
--
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.
More information about the freebsd-current
mailing list