From: Richard Weinberger <richard@sigma-star.at>
To: xenomai@lists.linux.dev
Subject: Task exit via rt_task_suspend()?
Date: Fri, 18 Aug 2023 11:28:29 +0200 [thread overview]
Message-ID: <48358551.MN2xkq1pzW@somecomputer> (raw)
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
next reply other threads:[~2023-08-18 9:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-18 9:28 Richard Weinberger [this message]
2023-08-18 17:26 ` Task exit via rt_task_suspend()? Philippe Gerum
2023-08-21 5:49 ` Richard Weinberger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48358551.MN2xkq1pzW@somecomputer \
--to=richard@sigma-star.at \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.