Re: [Xenomai-core] do rt_task_create after a deletion

2011-08-31 Thread Gilles Chanteperdrix
On 08/31/2011 09:26 AM, Roberto Bielli wrote: > Hi, > > i explain better. if i don't use rt_task_join i remove the flag > T_JOINABLE, so i wait the task termination with a rt_task_create that > return -EEXIST. The only way to wait for a thread to have freed all resources (notably its stack) is

Re: [Xenomai-core] do rt_task_create after a deletion

2011-08-31 Thread Roberto Bielli
Hi, i explain better. if i don't use rt_task_join i remove the flag T_JOINABLE, so i wait the task termination with a rt_task_create that return -EEXIST. Thanks Il 31/08/2011 09:12, Gilles Chanteperdrix ha scritto: On 08/31/2011 08:57 AM, Roberto Bielli wrote: Hi, if i don't want to use

Re: [Xenomai-core] do rt_task_create after a deletion

2011-08-31 Thread Gilles Chanteperdrix
On 08/31/2011 08:57 AM, Roberto Bielli wrote: > Hi, > > if i don't want to use rt_task_join to wait termination on a task, Then do not create the task with the T_JOINABLE flag. > is it > correct to use rt_task_create and wait until the return value is > different from -EEXIST after a deletion?

[Xenomai-core] do rt_task_create after a deletion

2011-08-31 Thread Roberto Bielli
Hi, if i don't want to use rt_task_join to wait termination on a task, is it correct to use rt_task_create and wait until the return value is different from -EEXIST after a deletion? Thanks for all -- +--