manoj kumar wrote:
 > Hi,
 > 
 > Can we create real time thread using posix skins ony (i.e. no other
 > skins call should be used for that )in xenomai.
 > 
 > if yes, then how?

Use pthread_create with scheduling policy set to SCHED_FIFO and a
priority between 1 and 99.

If you want to create non real-time thread, use __real_pthread_create.

For low priority real-time thread that will need to interact with
real-time threads but will spend most of their time in secondary mode,
use pthread_create with the SCHED_OTHER scheduling policy and priority
of 0.

-- 


                                            Gilles Chanteperdrix.

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

Reply via email to