[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deadlock in +initialize with libojbc2
From: |
David Chisnall |
Subject: |
Re: Deadlock in +initialize with libojbc2 |
Date: |
Mon, 13 Aug 2012 16:01:36 +0100 |
On 13 Aug 2012, at 15:45, Thomas Davie wrote:
> Experiments say that apple's runtime is fine with this code. As you can see
> from my reply, the runtime is indeed using a per-class lock, but it's also
> locking on a central runtime lock, and doing so before the per-class
> initialize lock in one thread, and after in the other, resulting in the
> deadlock.
Can you try r35401? I think that should fix it for you.
David
-- Sent from my PDP-11