NSConditionLock console message: "unlocked from thread which did not lock it"
NSConditionLock console message: "unlocked from thread which did not lock it"
- Subject: NSConditionLock console message: "unlocked from thread which did not lock it"
- From: Mark Alldritt <email@hidden>
- Date: Sun, 25 Nov 2007 09:40:23 -0800
- Thread-topic: NSConditionLock console message: "unlocked from thread which did not lock it"
Hello All,
Under Leopard, my application has begun logging console messages like this:
2007-11-25 09:09:03.572 Script Debugger 4[66788:613] *** -[NSConditionLock
unlockWithCondition:]: lock (<NSConditionLock: 0x2b5e7ed0> '(null)')
unlocked from thread which did not lock it
The message is correct: I lock the NSConditionLock from a worker thread to
block the thread until another thread (the main thread) receives a response
and the worker can continue on.
This seems to me like a legitimate use of a lock. Can anyone explain what
the problem here is.
Cheers
-Mark
------------------------------------------------------------------------
Mark Alldritt Late Night Software Ltd.
Phone: 250-380-1725 Script Debugger 4.0 - AppleScript IDE
WEB: http://www.latenightsw.com/ FaceSpan 4.3 - AppleScript RAD
Affrus 1.0 - Perl Debugging
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden