Thu, 14 Dec 2000 Stephen D. Cohen wrote:
> 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.

Yes, that's basically the user space version of what a multi-open capable
driver would do in kernel space - but without constructing a non-standard API.


//David

..- M A I A -------------------------------------------------.
|      Multimedia Application Integration Architecture      |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
..- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> [EMAIL PROTECTED] -'
-- [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