Skip to contentSkip to conversation

rt_task_join() small issue on not-joinable task

Xenomai-help Mauro Salvini 2 participants 2 messages Apr 26, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 28969746.161303825604578.JavaMail.SYSTEM@pc-msalvini

#1 lore raw
Quoted 4 lines

Why would not it be correct? I mean, Linux threads are joinable by default, so, it is normal that rt_task_join succeeds. Now, we can implement a different behaviour, but for what reason?

OK sorry, I wrongly think that rt_task_shadow() follows rt_task_create() behaviour (task was joinable only if T_JOINABLE specified).

Thank you, regards.

#2 lore raw
Quoted 7 lines · Mauro Salvini
Quoted 3 lines

Why would not it be correct? I mean, Linux threads are joinable by default, so, it is normal that rt_task_join succeeds. Now, we can implement a different behaviour, but for what reason?

OK sorry, I wrongly think that rt_task_shadow() follows rt_task_create() behaviour (task was joinable only if T_JOINABLE specified).

The T_JOINABLE bit is not documented for rt_task_shadow. So, any behaviour is valid. But as I said, we can add it.

Quoted 6 lines

Thank you, regards.

_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help

Signature · 1 line
                                                                Gilles.