mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept).

Poul-Henning Kamp phk at phk.freebsd.dk
Thu Apr 8 14:40:08 PDT 2004


In message <20040408213647.GL661 at darkness.comp.waw.pl>, Pawel Jakub Dawidek wri
tes:
>
>--0+35XlDF45POFHfm
>Content-Type: text/plain; charset=iso-8859-2
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>Hi.
>
>As was discussed, it will be helpful to have functions, that are able
>to acquire lock recursively, even if lock itself isn't recursable.

Sounds evil to me...

Does your patch also make witness aware of this ?

-- 
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