Cygwin1.dll 1.5.19: race condition & deadlock with fifos

Brian Dessent
Mon Jun 12 01:36:00 GMT 2006

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 >fifo)&); echo Read: $(<fifo)
> --->8---

This works fine for me, no hang -- but I use a recent CVS build.  Have
you tried the latest shapshot?


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list