Felix Radensky ([EMAIL PROTECTED]) wrote:
> Don't you think that since rtl-fifo is full-duplex, there should be
> separate fifo handlers
> for read and for write opreations. In the current implementation, one
> should create two
> fifos, one for reading, and another for writing, in order to be able to
> distinguish user read
> from user write. Is that true or am I missing something ?

RT-FIFOs are not full-duplex. One side reads, the another writes.
For full-duplex, one needs to use a buffer for each direction.
With RT-FIFOs, this means two of them.

Note, that you can present two RT-FIFOs as one full-duplex device on the
user level (you also get separate read and write handlers when you do).
Please see the man page for the rtf_make_user_pair function.

Michael.

-- [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/

Reply via email to