Re: [racket] Deadlock with FIFO files

2014-10-26 Thread Eric Dobson
I attempted reviewing the attached file, and it looks fine and I can replicate the buggy behavior, but I'm not that familiar with kqueue. Thanks for the quick turnaround/fix. On Sun, Oct 26, 2014 at 8:14 AM, Matthew Flatt wrote: > It looks like kqueue() is broken for FIFOs on Mac OS X. See the >

Re: [racket] Deadlock with FIFO files

2014-10-26 Thread Matthew Flatt
It looks like kqueue() is broken for FIFOs on Mac OS X. See the enclosed "kqueue_fifo.c". Unless I'm confused (a review of the enclosed program would be welcome), adding a kqueue event to watch for FIFO input disables an event that watches for FIFO output space, or something like that. I enabled t