Hi,
David Olofson offered an excellent treatise on why multiple open of
a FIFO is a bad idea. I would like to offer a fairly simple solution.
Simply create a block of FIFOs on the RTL side of the house. Attach
them all to the same handler (it gets the FIFO number when it is called, but
since you were planning to multi-open, it probably doesn't matter).
Then simply have your user-mode programs try opening FIFOs until
they succeed or run out of FIFOs to try.
Regards,
Steve
-- [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/
- [rtl] Using RTFifos with multiple writers? Eric Peterson
- Re: [rtl] Using RTFifos with multiple writers? David Olofson
- Re: [rtl] Using RTFifos with multiple writers? Eric Peterson
- RE: [rtl] Using RTFifos with multiple writers? Stephen D. Cohen
- RE: [rtl] Using RTFifos with multiple writers? David Olofson
- Re: [rtl] Using RTFifos with multiple writers? Eric Peterson
- Re: [rtl] Using RTFifos with multiple writ... Trevor Woolven
- Re: [rtl] Using RTFifos with multiple writers? Stuart Warren
- Re: [rtl] Using RTFifos with multiple writers? Michael Barabanov
- RE: [rtl] Using RTFifos with multiple writers? Dresner, Norman A.
- Re: [rtl] Using RTFifos with multiple writers? Stuart Hughes
