| From: | Thomas Hurst |
| Date: | 10 Oct 99 at 11:29:18 |
| Subject: | Re: Re: ASync I/O |
From: "Thomas Hurst" <tom.hurst@clara.net>
Hi
On 10-Oct-99 04:44:36, lanky (sykoe@sub.net.au) wrote:
> From: lanky <sykoe@sub.net.au>
> Howdi there Thomas Hurst..
>> Does anybody know if it's possible to perform async file I/O using
>> ARexx? I'm trying to stream data through a pipe, but I don't want the
>> performance hit of having to wait for the pipe to stop blocking.
> Ivew been playing with PIPE: in the soon to be release AmScript v1.0
> (Just finshing it).. The only thing I can do from what I found at this
> stage is just to do a
> Call Delay(<time in tics>)
Yeah, although I'd do a WaitSelect() to wait for an event on a socket or
from the user. I'd have to be careful not to let the pipe underrun. Maybe I
could set up a tap for the pipe and see how much data had been read... a job
for a subtask and some clips methinks.
> If you find some other method. let me know. Besides that PIPE: handling
> is fine. Then it displays the programs output as it happens fine.
I'm using
PipeHandler.lha util/shell 48K 632+An AmigaDOS pipe device, named pipes. V1
Because it allows you to set the size of the pipe, allows dir listings etc
and seems more suited to piping data to applications.
Oh... won't someone please write rexxasyncio.library...
Regards
Tom
Thesaurus: ancient reptile with an excellent vocabulary
--------------------------- ONElist Sponsor ----------------------------
Thinking about putting your business on the Web?
MindSpring Biz has helped over 100,000 businesses get their .com.
Join MindSpring Biz and save $50!
<a href=" http://clickme.onelist.com/ad/mindspring3 ">Click Here</a>
------------------------------------------------------------------------
ARexx mailing list - No flames, no overquoting, no crossposting. Unsubscribe: Blank mail to mailto:arexx-unsubscribe@onelist.com