Wolfgang Grandegger wrote:
> Hello,
> 
> can pthread_[set|get]specifi()c be used safely in user space real-time
> tasks. Or does it result in a switch to secondary mode?

I would expect pthread_getspecific to be safe on all platforms though
(and actually, I think the fast mutexes implementation relies on that).

I would say it should be always safe or always non-safe. So, you may run
a test with T_WARNSW (or XNTRAPSW) and you will know whether the
implementation on your platform is safe.

pthread_setspecific is another story, maybe it can trigger a re-allocation?

-- 
                                                 Gilles.

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

Reply via email to