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

wrapping


  • Subject: wrapping
  • From: Mai Bui <email@hidden>
  • Date: Mon, 18 Sep 2006 10:21:59 -0700

Hi all,

I use NSTak and NSFileHandle to wrap data from one of my processes. To avoid a deadlock problem, I would like to read a little of bit from one process (when data is available, not wait for the all data coming which is 4096), and write a little of bit from the other process.

Is there any way to set attribute for NSFileHandle like "unbuffer", since I use

while([data=[handle available] length])

it waits for to enough data in buffer to send to NSTextView, that's not I want, I want printout continuously instead.

Thanks a lot for your knowledge.
My regards,
Mai.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: "How do I get undo/redo for free in my non-document-architecture-based app?"
  • Next by Date: Re: Using WebKit to display data that's not in HTML
  • Previous by thread: Re: "How do I get undo/redo for free in my non-document-architecture-based app?"
  • Next by thread: Sliding a view into place?
  • Index(es):
    • Date
    • Thread