All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : native: Improve documentation of rt_task_join and rt_task_delete
       [not found] <E1OmSun-0000pX-9o@domain.hid>
@ 2010-08-21  9:49 ` Gilles Chanteperdrix
  2010-08-21  9:58   ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2010-08-21  9:49 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-core

GIT version control wrote:
> Module: xenomai-jki
> Branch: for-upstream
> Commit: df5646768a089b38343dfe676912006616bde5c2
> URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=df5646768a089b38343dfe676912006616bde5c2
> 
> Author: Jan Kiszka <jan.kiszka@domain.hid>
> Date:   Fri Aug 20 16:22:55 2010 +0200
> 
> native: Improve documentation of rt_task_join and rt_task_delete
> 
> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
> 
> ---
> 
>  ksrc/skins/native/task.c |   15 +++++++++++++--
>  1 files changed, 13 insertions(+), 2 deletions(-)
> 
> diff --git a/ksrc/skins/native/task.c b/ksrc/skins/native/task.c
> index 6d2472e..73fee5e 100644
> --- a/ksrc/skins/native/task.c
> +++ b/ksrc/skins/native/task.c
> @@ -588,6 +588,9 @@ int rt_task_resume(RT_TASK *task)
>   *
>   * Rescheduling: always if @a task is NULL, and possible if the
>   * deleted task is currently running into a safe section.
> + *
> + * @note A task that was successfully joined via rt_task_join() must not be
> + * explicitly deleted afterwards.
>   */

Should not we document the fact that a task which has been successfully
deleted must be joined (in the process where it is running)? I seem to
remember that being the subject of a discussion...

-- 
					    Gilles.


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

* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : native: Improve documentation of rt_task_join and rt_task_delete
  2010-08-21  9:49 ` [Xenomai-core] [Xenomai-git] Jan Kiszka : native: Improve documentation of rt_task_join and rt_task_delete Gilles Chanteperdrix
@ 2010-08-21  9:58   ` Jan Kiszka
  2010-08-23  9:32     ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2010-08-21  9:58 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

Am 21.08.2010 11:49, Gilles Chanteperdrix wrote:
> GIT version control wrote:
>> Module: xenomai-jki
>> Branch: for-upstream
>> Commit: df5646768a089b38343dfe676912006616bde5c2
>> URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=df5646768a089b38343dfe676912006616bde5c2
>>
>> Author: Jan Kiszka <jan.kiszka@domain.hid>
>> Date:   Fri Aug 20 16:22:55 2010 +0200
>>
>> native: Improve documentation of rt_task_join and rt_task_delete
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>>
>> ---
>>
>>  ksrc/skins/native/task.c |   15 +++++++++++++--
>>  1 files changed, 13 insertions(+), 2 deletions(-)
>>
>> diff --git a/ksrc/skins/native/task.c b/ksrc/skins/native/task.c
>> index 6d2472e..73fee5e 100644
>> --- a/ksrc/skins/native/task.c
>> +++ b/ksrc/skins/native/task.c
>> @@ -588,6 +588,9 @@ int rt_task_resume(RT_TASK *task)
>>   *
>>   * Rescheduling: always if @a task is NULL, and possible if the
>>   * deleted task is currently running into a safe section.
>> + *
>> + * @note A task that was successfully joined via rt_task_join() must not be
>> + * explicitly deleted afterwards.
>>   */
> 
> Should not we document the fact that a task which has been successfully
> deleted must be joined (in the process where it is running)? I seem to
> remember that being the subject of a discussion...
> 

We already do when describing T_JOINABLE, but we should indeed repeat
this here as it may not be obvious. Will update the patch.

Jan


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

* Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : native: Improve documentation of rt_task_join and rt_task_delete
  2010-08-21  9:58   ` Jan Kiszka
@ 2010-08-23  9:32     ` Jan Kiszka
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2010-08-23  9:32 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai-core

Jan Kiszka wrote:
> Am 21.08.2010 11:49, Gilles Chanteperdrix wrote:
>> GIT version control wrote:
>>> Module: xenomai-jki
>>> Branch: for-upstream
>>> Commit: df5646768a089b38343dfe676912006616bde5c2
>>> URL:    http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=df5646768a089b38343dfe676912006616bde5c2
>>>
>>> Author: Jan Kiszka <jan.kiszka@domain.hid>
>>> Date:   Fri Aug 20 16:22:55 2010 +0200
>>>
>>> native: Improve documentation of rt_task_join and rt_task_delete
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
>>>
>>> ---
>>>
>>>  ksrc/skins/native/task.c |   15 +++++++++++++--
>>>  1 files changed, 13 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/ksrc/skins/native/task.c b/ksrc/skins/native/task.c
>>> index 6d2472e..73fee5e 100644
>>> --- a/ksrc/skins/native/task.c
>>> +++ b/ksrc/skins/native/task.c
>>> @@ -588,6 +588,9 @@ int rt_task_resume(RT_TASK *task)
>>>   *
>>>   * Rescheduling: always if @a task is NULL, and possible if the
>>>   * deleted task is currently running into a safe section.
>>> + *
>>> + * @note A task that was successfully joined via rt_task_join() must not be
>>> + * explicitly deleted afterwards.
>>>   */
>> Should not we document the fact that a task which has been successfully
>> deleted must be joined (in the process where it is running)? I seem to
>> remember that being the subject of a discussion...
>>
> 
> We already do when describing T_JOINABLE, but we should indeed repeat
> this here as it may not be obvious. Will update the patch.

Update pushed, for-upstream head is now 95359c1.

Jan

-- 
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux


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

end of thread, other threads:[~2010-08-23  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1OmSun-0000pX-9o@domain.hid>
2010-08-21  9:49 ` [Xenomai-core] [Xenomai-git] Jan Kiszka : native: Improve documentation of rt_task_join and rt_task_delete Gilles Chanteperdrix
2010-08-21  9:58   ` Jan Kiszka
2010-08-23  9:32     ` Jan Kiszka

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.