• 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: Concurrent tasks are getting hung up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Concurrent tasks are getting hung up


  • Subject: Re: Concurrent tasks are getting hung up
  • From: Steve Mills <email@hidden>
  • Date: Sun, 12 Oct 2014 22:38:30 -0500

On Oct 12, 2014, at 18:18:48, Jim Crate <email@hidden> wrote:

> In one app I’m creating up to 600 or so block operations at once (processing a list of files), it looks like it takes less than a couple tenths of a second so it doesn’t seem like it should be noticeable unless you are creating many thousands of operations, or invocation operations are extraordinarily slow to create.

Yes, my operations process image files, so they can be quite lengthy. It worked great when I used a small test suite, but as soon as I tried it on one of my large folders (16k+ files), kablooey.

> Keep in mind you can add operations to your queue from inside an operation executing on that queue so it would likely be trivial to change your code to generate the operations in a block operation.

That's pretty much what I'm doing now.

--
Steve Mills
Drummer, Mac geek


_______________________________________________

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: 
 >Concurrent tasks are getting hung up (From: Steve Mills <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Jens Alfke <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Steve Mills <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Greg Parker <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Steve Mills <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Greg Parker <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Steve Mills <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Kyle Sluder <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Steve Mills <email@hidden>)
 >Re: Concurrent tasks are getting hung up (From: Jim Crate <email@hidden>)

  • Prev by Date: Re: Kerning Pairs
  • Next by Date: NSPopover tear-off problem
  • Previous by thread: Re: Concurrent tasks are getting hung up
  • Next by thread: Open document panel always on top - Mountain Lion
  • Index(es):
    • Date
    • Thread