"Rus V. Brushkoff" wrote:
>
> On Sun, 11 Jun 2000, Stuart Hughes wrote:
>
> : Hi,
>
> Hi.
>
> :
> : Can you post a code example that breaks and I'll take a look. Are which
> : fifos are you using, old or newfifos ???.
>
> I am using new ones, old fifos is working ok. As I remember the code was
> a trivial select loop with one fd watching for read event, the fd is a
> opened fifo descriptor.
>
Hi Rus,
If you go to http://www.zentropix.com/ and click downloads, you'll see
rtai_rtl_fifos-05.tar.gz. This is a portable version of the RTAI
newfifos package. I have added a test to make sure that a non-blocking
read on a fifo with no data does not block (after building run
./regression). I've tested this with RTAI 1.3 and this behaves as
expected (immediate return with EAGAIN). Please take a look and let me
know if I have missunderstood anything, or if your results are
different.
Regards, Stuart
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/