need for another mutex type/flag?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sun Jan 25 00:18:46 PST 2009
In message <497BA91D.805 at elischer.org>, Julian Elischer writes:
>I would like to be able to add a flag to a mutex
>that tags it as a 'leaf' mutex. As a result it would be illegal
>to take any other mutex while holding a leaf mutex.
I second that, even if the flag is purely documentary, it is a
good idea.
--
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-arch
mailing list