Re: Efficiently receiving data from an NSTask
Re: Efficiently receiving data from an NSTask
- Subject: Re: Efficiently receiving data from an NSTask
- From: "Martin Hairer" <email@hidden>
- Date: Tue, 8 Jul 2008 11:44:39 +0100
Hi all,
> Right now, I am doing the following instead. In the thread that
> launched the NSTask (call that the master thread), I poll data from
> stdout until the task has died:
Coming back to the original question: is it "legal" to have one thread
accessing the NSFileHandle bound to the stdout of an NSTask while
simultaneously accessing from a different thread the NSFileHandle
bound to stderr of the same NSTask? Thanks again,
Martin
--
HairerSoft
http://www.hairersoft.com/
_______________________________________________
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