• 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: Multiple File Open Strategy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple File Open Strategy


  • Subject: Re: Multiple File Open Strategy
  • From: Ken Thomases <email@hidden>
  • Date: Wed, 29 Dec 2010 10:55:24 -0600

On Dec 22, 2010, at 3:25 PM, Jeremy Torres wrote:

> I have a working implementation using Grand Central dispatch queues that open a file and compute an OpenSSL DSA hash, writing out the hash to a new "side car" file for later verification.
>
> I would like to open multiple files at the same time, but based on some logic that doesn't "choke" the OS by having 100s of files open and exceeding the hard drive's sustainable output.  Photo browsing applications such as iPhoto or Aperture seem to open multiple files and display them, so I'm assuming this can be done.
>
> Any suggestions?

See this article on Mike Ash's blog:
http://www.mikeash.com/pyblog/friday-qa-2009-09-25-gcd-practicum.html

The discussion in this thread might also be useful to you; although it is about NSOperationQueue, some of the same issues are relevant to GCD:
http://www.mail-archive.com/email@hidden/msg64583.html

Regards,
Ken

_______________________________________________

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: 
 >Multiple File Open Strategy (From: Jeremy Torres <email@hidden>)

  • Prev by Date: Re: Memory management about async object
  • Next by Date: Binding label value to CoreDara int16
  • Previous by thread: Re: Multiple File Open Strategy
  • Next by thread: Ensuring no selection in a table view
  • Index(es):
    • Date
    • Thread