All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Signals
@ 2006-01-18 21:24 Kent Borg
  2006-01-25 20:20 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: Kent Borg @ 2006-01-18 21:24 UTC (permalink / raw)
  To: xenomai

Thanks for the news that gdb should just work.

Now I am wondering about signals.  I want to be able to send a regular
Linux signal to a userland realtime process.  Do I use the regular
signal() to install a signal handler?  When would I use
rt_task_catch() and rt_task_notify()?

What about multiple threads?  I have 2 threads running.  It seems that
the thread that called signal() is the one landing in the handler
routine.  I would like to set some flags for the second thread to see,
so it can cleanup things before quiting, but it seems that my second
thread isn't running after I send the signal.  I also think I am
corrupting something, because if I set up a loop that launches and
kills my program, my machine freezes up after a dozen cycles.  I
commented out most of my guts and it still freezes up.


Thanks,

-kb


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

end of thread, other threads:[~2006-01-25 22:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-18 21:24 [Xenomai-help] Signals Kent Borg
2006-01-25 20:20 ` Jan Kiszka
2006-01-25 21:24   ` Kent Borg
2006-01-25 22:31     ` 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.