> Well, looking at the code, this should not happen. The question is: how > do you ensure, in the code that calls rt_task_join, that the thread > being created had the time to call rt_task_shadow? In other words, are > you sure that you are not passing rt_task_join an uninitialized RT_TASK?
> So, as usual, we are missing a simple standalone test showing the issue > you have. There was a subtle bug that realizes exactly what you explained, thank you! Question is: after a successful rt_task_shadow() call done by a pthread, we can forget that this rt-task was created as pthread and then we must handle it with rt_task_* procedures, is it right? In other words, does pthread become a RT_TASK at all, as if it was created with rt_task_create()? Thanks again, Gilles.
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
