Re: Cygwin1.dll 1.5.19: race condition & deadlock with fifos

2006-06-11 Thread Larry Hall (Cygwin)
Barry Kelly wrote: On Sun, 11 Jun 2006 18:23:22 -0700, you wrote: Barry Kelly wrote: This code, without a delay, causes a deadlock and both active spawned bash processes (the forked one reading from the fifo and the backgrounded one) need to be killed explicitly: ---8<--- ~/test-fifo$ rm fif

Re: Cygwin1.dll 1.5.19: race condition & deadlock with fifos

2006-06-11 Thread Barry Kelly
On Sun, 11 Jun 2006 18:23:22 -0700, you wrote: > Barry Kelly wrote: > > > This code, without a delay, causes a deadlock and both active spawned > > bash processes (the forked one reading from the fifo and the > > backgrounded one) need to be killed explicitly: > > > > ---8<--- > > ~/test-fifo$ r

Re: Cygwin1.dll 1.5.19: race condition & deadlock with fifos

2006-06-11 Thread Brian Dessent
Barry Kelly wrote: > This code, without a delay, causes a deadlock and both active spawned > bash processes (the forked one reading from the fifo and the > backgrounded one) need to be killed explicitly: > > ---8<--- > ~/test-fifo$ rm fifo > ~/test-fifo$ mkfifo fifo > ~/test-fifo$ ((echo foo >fif