wrapping
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