From: Philipp Keller <philipp.keller@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] troubles deleting tasks
Date: Fri, 10 Nov 2006 14:17:07 +0100 [thread overview]
Message-ID: <45547BD3.6070500@domain.hid> (raw)
Hello
We have troubles deleting the main task created with rt_task_shadow()
from user space.
In the course of initiating the program, we spawn two other threads from
the main task with rt_task_spawn().
When ending the application, both the spawned tasks can be deleted with
rt_task_delete(), but the main task returns with an unknown error code
when calling rt_task_delete().
We believe to have released all recources before deleting, closing all
sockets and file handlers.
The trouble is that we cannot initiate rt can socket communication again
after failing to delete the main thread.
Doeas anyone have an idea what the probelm may be here?
Thanks for any hint
Philipp
--
Philipp Keller
Software Development
Neuronics AG
Technoparkstrasse 1
8005 Zuerich / Switzerland
Tel +41 44 445 16 40
Fax +41 44 445 16 44
www.neuronics.ch
--
next reply other threads:[~2006-11-10 13:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-10 13:17 Philipp Keller [this message]
2006-11-10 13:31 ` [Xenomai-help] troubles deleting tasks Philippe Gerum
2006-11-11 9:31 ` Philippe Gerum
2006-11-10 13:38 ` Jan Kiszka
[not found] ` <4554875A.9060401@domain.hid>
2006-11-10 14:44 ` Jan Kiszka
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=45547BD3.6070500@domain.hid \
--to=philipp.keller@domain.hid \
--cc=xenomai@xenomai.org \
/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.