Re: Fifo blocking and performance issues - some more code snips

2012-10-04 Thread Christopher Faylor
On Thu, Oct 04, 2012 at 03:46:17PM -0400, bob wrote: >The astute reader might be asking why RDWR and not RDONLY. This astute reader is asking why you are starting a new thread every time. Please stick to one. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: h

Fifo blocking and performance issues - some more code snips

2012-10-04 Thread bob
Forgot to mention in my last code snip post that the Linux code below is the "desired" behavior of the fifos to match the existing Linux code in the SIMPL toolkit. In this Linux code snip we open the receive end of the fifo as RDWR (without the O_NONBLOCK flag) and Linux conveniently allow