• 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: Thread synchronization via queue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread synchronization via queue


  • Subject: Re: Thread synchronization via queue
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 17 Jan 2013 07:54:56 -0700

On Jan 17, 2013, at 2:40 AM, Rick Mann wrote:

> I can't change the complex process to work in discrete chunks.

But you have access to the writing process source so that you can add a few lines of code for synchronization stuff? If so, this is kind of a classic case for a condition variable; there are Cocoa classes (NSConditionVariable iirc) for it; and I'd be surprised if there isn't something in GCD...

--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice





_______________________________________________

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: 
 >Thread synchronization via queue (From: Rick Mann <email@hidden>)

  • Prev by Date: tappable strings
  • Next by Date: Re: Thread synchronization via queue
  • Previous by thread: Re: Thread synchronization via queue
  • Next by thread: tappable strings
  • Index(es):
    • Date
    • Thread