Re: NSPipe
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>) |