Subject: Re: [Xenomai-help] troubles deleting tasks From: Philippe Gerum In-Reply-To: <45547BD3.6070500@domain.hid> References: <45547BD3.6070500@domain.hid> Content-Type: text/plain Date: Fri, 10 Nov 2006 14:31:57 +0100 Message-Id: <1163165517.5765.132.camel@domain.hid> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: rpm@xenomai.org List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philipp Keller Cc: xenomai@xenomai.org On Fri, 2006-11-10 at 14:17 +0100, Philipp Keller wrote: > 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(). Knowing which error code would help. > 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 -- Philippe.