On Thu, Nov 19, 2009 at 3:40 PM, Colin Deasy <colde...@hotmail.com> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to