Re: Thread synchronization via queue
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