• 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: [NSPipe pipe] returning nil (running out of filehandles?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSPipe pipe] returning nil (running out of filehandles?)


  • Subject: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • From: "stephen joseph butler" <email@hidden>
  • Date: Tue, 1 Apr 2008 18:36:58 -0500

On Tue, Apr 1, 2008 at 6:20 PM, Martin Redington <email@hidden>
wrote:

> I'm running /sbin/md5 via an NSTask on a number of files (3,000 or
> so, with a new NSTask each time).


This would run a lot faster (and avoid fd issues) if you used libcrypto. Try
"man EVP_DigestInit" to get an idea of where to start.

If the files will always be fairly small, you can load them into an NSData
instance and follow the advice here: <
http://www.cocoadev.com/index.pl?MDFive>
_______________________________________________

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

  • Follow-Ups:
    • Re: [NSPipe pipe] returning nil (running out of filehandles?)
      • From: Jean-Daniel Dupas <email@hidden>
References: 
 >[NSPipe pipe] returning nil (running out of filehandles?) (From: Martin Redington <email@hidden>)

  • Prev by Date: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • Next by Date: Re: ERROR: __CFURLCache::StepSQLStatement
  • Previous by thread: [NSPipe pipe] returning nil (running out of filehandles?)
  • Next by thread: Re: [NSPipe pipe] returning nil (running out of filehandles?)
  • Index(es):
    • Date
    • Thread