Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: NSTask interactive question



On 11/29/06, Chris Suter <email@hidden> wrote:

One thing to be wary of (although it might not occur in your case), is that both writeData and availableData can block if there isn't sufficient buffer space.

How can availableData block if the pipe it is reading from becomes full?

writeData yeah (or the external tasks write operation), but availableData?

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSTask interactive question (From: Matt Neuburg <email@hidden>)
 >Re: NSTask interactive question (From: "Shawn Erickson" <email@hidden>)
 >Re: NSTask interactive question (From: Chris Suter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.