Jan Kiszka wrote:
> > Calling pthread_cancel then pthread_join from a module cleanup routine
> > should work. Because the cancelled thread preempts immediately the
> > module cleanup routine, so when pthread_join is called, the thread no
> > longer exists and there is no need to suspend the calling thread.
> >
>
> Yes, but only on UP. What about including a simple polling loop into
> kernel-space pthread_join, something like rtdm_task_join_nrt?
Yes, I will include this polling loop.
--
Gilles Chanteperdrix.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help