[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: buffered inter-process communication
From: |
asebian |
Subject: |
Re: buffered inter-process communication |
Date: |
Thu, 10 Mar 2022 20:23:35 +0100 |
> > I am new to chicken and got stuck trying to do buffered inter-process
> > communication.
> > Could someone give me a hint why in the sample code below `copy_b`
> > freezes whereas `copy_c` works as expected?
> > Thanks!
> >
>
> As read-buffered only returns the data buffered by the last read operation,
> your code will not work. You should read block-wise by using "read-string"
> or read byte-wise (as does copy_c in your code).
Have mercy with me!