Thank you for an excellent answer Jan 23, 2008, about using periodic rt_tasks.

Next I want to program sporadic/aperiodic tasks.

My idea is to call rt_task_notify (& task, signal) when an event occurs.

The task has a run-method doing something like:

  for(;;)
  {
    rt_task_catch (&doSomeWork); // catch the event and call doSomeWork, - and 
then wait for next event
   }

But I can not get it work.

Have you a little example-program showing how to be programmed?

Hans Søndergaard

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

Reply via email to