Re: NSRunLoop
Re: NSRunLoop
- Subject: Re: NSRunLoop
- From: Laurent Cerveau <email@hidden>
- Date: Tue, 15 Jun 2010 00:26:31 +0200
You may want to look at NSOperation.
Regards
laurent
Sent from my road phone
On Jun 15, 2010, at 12:22 AM, Ariel Feinerman <email@hidden>
wrote:
Hi,
I wish to make programme has cpu-related (one thread per core)
number of
worker threads. When user inputs the data, main thread splits up the
data
and send to the workers. Then worker threads go to sleep in
anticipation of
the next chunk of data. How can I do it? I think to NSRunLoop is the
best
way, is the example of code?
--
best regards
Ariel
_______________________________________________
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
_______________________________________________
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: | |
| >NSRunLoop (From: Ariel Feinerman <email@hidden>) |