Jeff Webb wrote: > Jan Kiszka wrote: > >> In this simulation, we use the rtlinux POSIX-like API for threads, > >> timing, and writing-to / reading-from real-time FIFOs. It looks like > >> the xeno_posix API will allow me to port the thread and timing code with > >> very few (if any) changes. There does not appear to be a kernel-space > >> version of read and write for use on xenomai pipes. Am I missing > >> something? > > > > For what side, RT or non-RT? Or what service (function name) is missing > > precisely? > > RT-Linux has a mostly POSIX interface to rt-fifos. You must create/delete > them using the non-standard rtf_create/rtf_destroy, but after that, you can > open, close, read, and write them using a file descriptor. I was wondering > if this mapping exists for the real-time Xenomai POSIX API. I am > specifically asking about kernel-space right now, but I would also like to > know if this sort of thing is supported from user-space real-time as well.
There is no such thing in Xenomai POSIX API. The native API proposes rt_pipes: http://www.xenomai.org/documentation/trunk/html/api/group__pipe.html -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
