Re: How to implement "while there are objects in the array - run runloop" idea?
Re: How to implement "while there are objects in the array - run runloop" idea?
- Subject: Re: How to implement "while there are objects in the array - run runloop" idea?
- From: Ken Thomases <email@hidden>
- Date: Thu, 26 May 2011 13:39:41 -0500
On May 26, 2011, at 1:35 PM, Stephen J. Butler wrote:
> - Use NSNotifications to notify that a new object is waiting to be
> processed. If you go this route, you could actually have multiple
> processing threads all listening for the notification.
Notifications are delivered on the same thread as they are posted. So, this doesn't help get work from one thread to another (or several others). You can, upon receiving a notification, initiate some work on another thread, but that gets you back to square one as far as this discussion is concerned.
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