Hello,

i have a little question about rt_task_shadow(). I'm not sure if it is
ok to use ist like i do in my application.
The basic conditions of my app are:
 - it is a embedded linux (Sysgo ELinOS) with Xenomai 2.0.4 
   (old but unfortunatly no newer version is available for ELinOS)
 - the app listens on a tcp-port for commands from a client app.
 - one command ist for starting a simulation of some signals on the
parallel-port; 
   this simulation have to be hard-real-time

at first the tcp-server-part was in a non-rt-app which startet the
simulation-task with the normal xenomai-functions.
While the simulation is running i have to exchange data between the
tcp-server and the rt-task. 
The Problem is, that things like semaphores and mutexes doesn't work
with nrt-tasks.
now i found the rt_task_shadow-function. So after starting my app i call
this funktion and switch the process into a xenomai task (with the lowes
priority). At the moment everything seems ok; but are there any known
problems with this approach?

Kind regards,

Stefan Stolz

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to