Re: NSRunloop + shared thread
Re: NSRunloop + shared thread
- Subject: Re: NSRunloop + shared thread
- From: Kyle Sluder <email@hidden>
- Date: Thu, 19 Nov 2009 16:28:06 -0800
On Thu, Nov 19, 2009 at 3:40 PM, Colin Deasy <email@hidden> wrote:
> I see what you mean but at the moment Im finding it hard to see another avenue. To give a bit more detail on the situation. This shared thread is actually handling potentially large numbers of concurrent url connections/downloads. The reason that I want a block in some of those at different times is a for a form of bandwidth control I am trying to do. I know I could do this by having a separate thread for each task but there is quite a lot of overhead with that and from the tests I have ran, it spins too much.
Why are you using threads for this? Cocoa does downloading very well
without using threads.
--Kyle Sluder
_______________________________________________
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