All of lore.kernel.org
 help / color / mirror / Atom feed
* Task exit via rt_task_suspend()?
@ 2023-08-18  9:28 Richard Weinberger
  2023-08-18 17:26 ` Philippe Gerum
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Weinberger @ 2023-08-18  9:28 UTC (permalink / raw)
  To: xenomai

Hi!

I have a not yet understood deadlock in a Xenomai application on my desk.
It looks like the deadlock is caused by the fact that rt_task_suspend()
can cause the calling thread to exit.

So, a thread puts itself into suspend and never returns (and exists).
Debugging indicates that ret = __RT(kill(pid, SIGSUSP)); in threadobj_suspend()
is the place where it enters the kernel and never return and inside the
kernel exits.

Can this be? :-S

Thanks,
//richard

-- 
​​​​​sigma star gmbh | Eduard-Bodem-Gasse 6, 6020 Innsbruck, AUT
UID/VAT Nr: ATU 66964118 | FN: 374287y



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

end of thread, other threads:[~2023-08-21  5:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18  9:28 Task exit via rt_task_suspend()? Richard Weinberger
2023-08-18 17:26 ` Philippe Gerum
2023-08-21  5:49   ` Richard Weinberger

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.