• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSRunloop + shared thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSRunloop + shared thread (From: Colin Deasy <email@hidden>)
 >Re: NSRunloop + shared thread (From: Jens Alfke <email@hidden>)
 >RE: NSRunloop + shared thread (From: Colin Deasy <email@hidden>)

  • Prev by Date: Re: Advice about crash requested
  • Next by Date: tiffs on pasteboard
  • Previous by thread: RE: NSRunloop + shared thread
  • Next by thread: Re: NSRunloop + shared thread
  • Index(es):
    • Date
    • Thread