Stream Question
Ken G. Brown
kbrown at tnc.com
Fri Sep 21 04:09:22 UTC 2001
Great! Thx. I'll have a look and see if it might help. Thx again to
everyone who is contributing to the cause.
Ken
At 20:43 -0400 on 2001/09/20, David T. Lewis is rumored to have written:
>On Wed, Sep 19, 2001 at 07:06:11AM -0600, Ken G. Brown wrote:
>
>> Is there some sort of first in first out stream available somewhere?
>>
>> Thx.
>> Ken
>
>I was looking for the same thing recently, but the only FIFO I
>could find is SharedQueue. Here is a quick hack, not well tested
>but apparently working, which you may be able to adapt to your
>purposes. It's a Stream that uses a SharedQueue instead of a
>Collection. It assumes that the objects sent through the FIFO are
>characters, and answers a String in response to #next: and #upToEnd.
>
>Dave
>
>
>Attachment converted: cu1:InternalPipe.st 1 (TEXT/R*ch) (0002BE6C)
More information about the Squeak-dev
mailing list
|