• 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: Efficiently receiving data from an NSTask
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Efficiently receiving data from an NSTask (From: "Martin Hairer" <email@hidden>)

  • Prev by Date: How to indent in NSOutlineView?
  • Next by Date: Re: controlling system muting ?
  • Previous by thread: Re: Efficiently receiving data from an NSTask
  • Next by thread: Re: Efficiently receiving data from an NSTask
  • Index(es):
    • Date
    • Thread