FROM : Mark Alldritt
DATE : Sun Nov 25 18:40:23 2007
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
DATE : Sun Nov 25 18:40:23 2007
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
| Related mails | Author | Date |
|---|---|---|
| Mark Alldritt | Nov 25, 18:40 | |
| stephen joseph but… | Nov 25, 19:23 | |
| stephen joseph but… | Nov 25, 19:24 | |
| Scott Ribe | Nov 25, 19:26 | |
| Chris Kane | Nov 27, 22:32 |






Cocoa mail archive

