[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSConditionLock
From: |
Thomas Davie |
Subject: |
Re: NSConditionLock |
Date: |
Mon, 12 Dec 2011 16:07:35 +0000 |
On 12 Dec 2011, at 15:31, David Chisnall wrote:
> I think you are misunderstanding what NSCondition does.
>
> The -wait method releases the lock and waits for it to be signalled. When it
> is signalled, it atomically acquires the lock when the thread that owns it.
Ah, thanks a lot david, that is indeed the bit of information I was getting
mixed up.
Tom Davie