I'd like to use an RT fifo as a command queue.  I have a readout thread that
reads from the command queue and executes according to the command.  It does
not write the FIFO.  The "threads" that write the FIFO are the interrupt
handler and a FIFO handler.  The FIFO handler reads from another FIFO that a
Linux process writes to.  Question is: Is this possible?  Are there gotchas
to watch for?

The IRQ handler and the FIFO handler are guaranteed not to run concurrently
since I block my interrupt before invoking the FIFO handler.  The 2 handlers
also wake up the readout task after writing the command to the queue.

Thanks!

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