Hi,

Until now I have created RT xenomai threads, by using the skin native API:
kernel/xenomai/skins/native/task.c  (rt_task_create routine)

and for creating Linux threads, I have used the "pthread_create" routine 
(.../powerpc-e300c3-linux-gnu/usr/lib/libpthread.so)

xenomai also implements POSIX API:
kernel/xenomai/skins/posix/thread.c
And by looking at the code (and according to documentation), by calling 
"pthread_create" routine , xenomai creates RT threads.


My question:
I want to use the xenomai POSIX API, so How can I use the xenomai  
"pthread_create" routine, instead of the one from 
(.../powerpc-e300c3-linux-gnu/usr/lib/libpthread.so)?
should I add something to my Makefile?
Should I remove "-lpthread" parameter from my application Makefile?

Thanks,

Sagi

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to