Jan Kiszka wrote:
 > Nothing critical, but when using rt_task_self != NULL as a hint if the
 > caller is Xenomai-mapped or not, this stall malloc can become at least
 > unpleasant. This is also material for stable.

This looks useless: TSD cleanup routines are automatically called
upon thread termination. It is even worse: you risk a double free if you
do not re-set pthread_setspecific after having called free.

-- 


                                            Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to