[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] [Fwd: RTAI & FIFO Handlers]



Adrian Matellanes wrote:
> 
> Is there in RTAI a similar function to rtf_create_rt_handler?
> 
> In other words, can I install a handler to let me know when another
> rttask has written/read to/from a rtfifo?
> 

The question is not clear. You hint at another rttask, does it mean that
you are using fifos among kernel space tasks?

If so do no use fifos anymore for kernel space applications in RTAI, but
mailboxes, typed mailboxes, POSIX pqueues, inter task messages. They are
simpler and more flexible in use.
In RTAI fifos are kept only for compatibility reasons and to allow a
generic communication with interrupt handlers.

Note that in RTAI you do not need fifos even if you want to communicate
to user space. In fact LXRT allows you to use all RTAI services
simmetrically inter-intra kernel and user space processes.

Ciao, Paolo.