Jan Kiszka wrote:
 > trem wrote:
 > > Jan Kiszka wrote:
 > >> trem wrote:
 > >>  o As RTDM is mainly about "RT", why not switching to .read_rt and
 > >>    .write_rt? That means of course creating a shadow thread in
 > >>    read_simple_rtdm.
 > >>
 > >>   
 > > I supose that it needs to add a rt task in read_simple_rtdm,
 > > and all read/write will be done in this task. My goal was to
 > > do a as simple as possible example, but this idea add some
 > > code. Is this added code really usefull for a simple example ?
 > 
 > Well, the complication consists of a rt_task_shadow() in
 > read_simple_rtdm's main. But as I said later, you may also come to this
 > topic incrementally.

... or you could use the POSIX skin, in which case the shadowing of the
main thread is automatically done by the skin.

-- 


                                            Gilles Chanteperdrix.

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

Reply via email to