All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] is rt_task_shadow ok?
@ 2007-07-04 10:44 Stolz, Stefan, PGR2
  2007-07-04 11:17 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Stolz, Stefan, PGR2 @ 2007-07-04 10:44 UTC (permalink / raw)
  To: xenomai

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-04 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04 10:44 [Xenomai-help] is rt_task_shadow ok? Stolz, Stefan, PGR2
2007-07-04 11:17 ` Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.