All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] General question on Native Skin tasks
@ 2006-04-16 18:10 Brian L.
  2006-04-17 13:33 ` Jan Kiszka
  0 siblings, 1 reply; 13+ messages in thread
From: Brian L. @ 2006-04-16 18:10 UTC (permalink / raw)
  To: xenomai

If I create a native-skin RT_TASK from userspace with no flags, i.e.

void task(void*)
{
    for (;;) ;
}
int main()
{
   RT_TASK t;
   rt_task_create(&t, 0, 3, 0);
   rt_task_start(&t,task,0);
   (do something which blocks)
}

Should that task starve all other tasks? In what ways is it different
behaviorally from an ordinary posix thread? I ask because I have a
thread that might be spinning and a frozen system (back in the rtlinux
days, spinning in the real-time domain was a surefire way to freeze
without any other sign of trouble). If it is the case that this task
outweighs an ordinary linux thread/task, how can I make it the same?

Also,  I haven't completely tracked this down yet, but xenomai seems
to be page-faulting in a loop and exploding rather spectacularly in a
native-skin multithreaded program that doesn't do anything outside of
relatively ordinary queue/mutex/task stuff. I'm upgrading to trunk to
see if it goes away.

Short of a serial cable, is there a way to capture Oops/Panic text as
it flies by?


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

end of thread, other threads:[~2006-04-20  3:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 18:10 [Xenomai-help] General question on Native Skin tasks Brian L.
2006-04-17 13:33 ` Jan Kiszka
2006-04-17 14:50   ` Philippe Gerum
2006-04-17 17:35     ` Philippe Gerum
2006-04-17 20:03       ` Jan Kiszka
2006-04-17 20:44         ` Jan Kiszka
2006-04-18 19:53   ` Brian L.
2006-04-18 21:04     ` Jan Kiszka
2006-04-19 15:27       ` Brian L.
2006-04-19 17:18         ` Jan Kiszka
2006-04-19 17:42           ` Brian L.
2006-04-19 19:45             ` Jan Kiszka
2006-04-20  3:09               ` Li Yi

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.