• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPipe


  • Subject: Re: NSPipe
  • From: Jim Correia <email@hidden>
  • Date: Mon, 16 Jul 2001 09:52:21 -0400

On Monday, July 16, 2001, at 09:35 AM, Martin Ekere wrote:

Is there a limitation for how much data you can send through an NSPipe?

No.

Or am I not using the NSPipe correctly?

Yes. BTW, you are also leaking 3 NSPipe objects.

Please help me out here; I've looked all over developer.apple.com, TIL and connect.apple.com but I can't find any report of a bug in the NSPipe definition...(?)

You'll need to read some documentation on unix pipes. They are finite in capacity, and if they "fill up", the writing task will block until the reader reads some data out and "makes room", then will continue writing. Since you are doing a [task waitUntilExit] once the pipe is full, you block forever.

Jim


References: 
 >NSPipe (From: Martin Ekerå <email@hidden>)

  • Prev by Date: printing a table
  • Next by Date: Casting to a superclass
  • Previous by thread: NSPipe
  • Next by thread: printing a table
  • Index(es):
    • Date
    • Thread