• 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
Re: Threading synchronization: does a primitive exists?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Threading synchronization: does a primitive exists?


  • Subject: Re: Threading synchronization: does a primitive exists?
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 07 May 2011 21:50:22 -0500

On May 7, 2011, at 6:00 PM, Chris Hanson wrote:

> The thing to remember about NSConditionLock is that it's a lock that can only be acquired when it's in the specified condition.

That sentence is a bit confusing.  It can be read two ways, one of which is correct, the other incorrect.

If one chooses, one can request to lock an NSConditionLock only when it's in a specified condition.  However, one can also unconditionally lock it, too.

Regards,
Ken

_______________________________________________

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

References: 
 >Threading synchronization: does a primitive exists? (From: eveningnick eveningnick <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: Heath Borders <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: eveningnick eveningnick <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: Ken Thomases <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: eveningnick eveningnick <email@hidden>)
 >Re: Threading synchronization: does a primitive exists? (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: drawing onto CVPixelBuffer
  • Next by Date: Re: NSTextView and NSTextContainer size & clipping area
  • Previous by thread: Re: Threading synchronization: does a primitive exists?
  • Next by thread: Re: Threading synchronization: does a primitive exists?
  • Index(es):
    • Date
    • Thread