Re: name pipe problem: 1 writer, multiple concurrent readers

2020-08-07 Thread Morten Kjærulff via Cygwin
On Thu, Jul 16, 2020 at 9:26 PM Ken Brown wrote: > > On 7/3/2020 7:09 AM, Ken Brown via Cygwin wrote: > > On 7/2/2020 1:50 PM, Morten Kjærulff via Cygwin wrote: > >> I think we got a new release around the beginning of June, right? > >> You said that there were still issues (I can confirm). > >> If

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-07-16 Thread Ken Brown via Cygwin
On 7/3/2020 7:09 AM, Ken Brown via Cygwin wrote: On 7/2/2020 1:50 PM, Morten Kjærulff via Cygwin wrote: I think we got a new release around the beginning of June, right? You said that there were still issues (I can confirm). If it can help, here is the output I see today of above scripts: $ ./t

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-07-03 Thread Ken Brown via Cygwin
On 7/2/2020 1:50 PM, Morten Kjærulff via Cygwin wrote: I think we got a new release around the beginning of June, right? You said that there were still issues (I can confirm). If it can help, here is the output I see today of above scripts: $ ./tp.sh [...] 0 [fifo_reader] diff 1806 C:\c

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-07-02 Thread Morten Kjærulff via Cygwin
> > On 5/19/2020 11:20 AM, Morten Kjærulff wrote: > > On Tue, May 19, 2020 at 3:55 PM Ken Brown via Cygwin > > wrote: > >> > >> On 5/19/2020 7:26 AM, Morten Kjærulff via Cygwin wrote: > >>> Hi, > >>> > >>> The following script: > >>> > >>> #!/bin/sh > >>> > >>> rm -f t.pip t.txt > >>> > >>> mkfif

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-05-20 Thread Ken Brown via Cygwin
On 5/19/2020 11:20 AM, Morten Kjærulff wrote: On Tue, May 19, 2020 at 3:55 PM Ken Brown via Cygwin wrote: On 5/19/2020 7:26 AM, Morten Kjærulff via Cygwin wrote: Hi, The following script: #!/bin/sh rm -f t.pip t.txt mkfifo t.pip printf "line1\nline2\n" >t.txt ps { while true ; do

Re: name pipe problem: 1 writer, multiple concurrent readers

2020-05-19 Thread Ken Brown via Cygwin
On 5/19/2020 7:26 AM, Morten Kjærulff via Cygwin wrote: Hi, The following script: #!/bin/sh rm -f t.pip t.txt mkfifo t.pip printf "line1\nline2\n" >t.txt ps { while true ; do cp t.txt t.pip done } & rm -f t.rc.* for rc in 0 1 2 3 4 5 6 7 8 9 ; do { diff t.pip t.txt

name pipe problem: 1 writer, multiple concurrent readers

2020-05-19 Thread Morten Kjærulff via Cygwin
Hi, The following script: #!/bin/sh rm -f t.pip t.txt mkfifo t.pip printf "line1\nline2\n" >t.txt ps { while true ; do cp t.txt t.pip done } & rm -f t.rc.* for rc in 0 1 2 3 4 5 6 7 8 9 ; do { diff t.pip t.txt echo $? >t.rc.$rc } done echo result1 start ls t.rc.* | wc -l