Hi all,
is there a "cheap", RT-safe call that can be made in order to find out if the 
current thread is a Xenomai thread or a Linux thread? Also, to detect whether 
the Xenomai thread is in primary or secondary mode?

It seems that cobalt_thread_mode() gives some (all?) of these details. Is it 
RT-safe? How much overhead does it incur? Is it the recommended way?

Thanks,
Giulio

Reply via email to