• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSConditionLock console message: "unlocked from thread which did not lock it"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSConditionLock console message: "unlocked from thread which did not lock it"
      • From: Chris Kane <email@hidden>
    • Re: NSConditionLock console message: "unlocked from thread which did not lock it"
      • From: Scott Ribe <email@hidden>
    • Re: NSConditionLock console message: "unlocked from thread which did not lock it"
      • From: "stephen joseph butler" <email@hidden>
  • Prev by Date: Re: make c function in objc-class know about instance?
  • Next by Date: Re: How to get window title bar font ^size^ ?
  • Previous by thread: Re: make c function in objc-class know about instance?
  • Next by thread: Re: NSConditionLock console message: "unlocked from thread which did not lock it"
  • Index(es):
    • Date
    • Thread