Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Apr 2004 23:40:07 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: mtx_lock_recurse/mtx_unlock_recurse functions (proof-of-concept). 
Message-ID:  <29212.1081460407@critter.freebsd.dk>
In-Reply-To: Your message of "Thu, 08 Apr 2004 23:36:47 %2B0200." <20040408213647.GL661@darkness.comp.waw.pl> 

next in thread | previous in thread | raw e-mail | index | archive | help

In message <20040408213647.GL661@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29212.1081460407>