On Sun, Jul 08, 2001 at 12:38:39PM -0700, Thomas Bushnell, BSG wrote:
> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> 
> > In the fully unlocked state, RL->locking_thread is MACH_PORT_NULL.
> > How can this match mach_thread_self() of thread 1?
> 
> Oh, I take it back.  Hrm, it appears that your implementation is fine
> after all.... sorry! :-/

Your confident made us look at it twice, which is a good thing.
 
> I do still think that using recursive locks is a bad idea...

We can talk about this for the Hurd (I think we can do fine with a small
interface change), but at least in the dynamic linker there has to be a
recursive lock (there is a XXX in the code for that, we will deadlock on the
second invocation.  But I don't know under which circumstances this will
happen.)

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org [EMAIL PROTECTED]
Marcus Brinkmann              GNU    http://www.gnu.org    [EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.marcus-brinkmann.de

_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to