All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Using xenomai posix routines instead of Linux POSIX routines
@ 2015-03-30 13:40 Sagi Maimon
  2015-03-30 13:49 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Sagi Maimon @ 2015-03-30 13:40 UTC (permalink / raw)
  To: xenomai@xenomai.org

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-03-31  7:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-30 13:40 [Xenomai] Using xenomai posix routines instead of Linux POSIX routines Sagi Maimon
2015-03-30 13:49 ` Philippe Gerum
2015-03-31  6:23   ` Sagi Maimon
2015-03-31  7:04     ` Philippe Gerum
2015-03-31  7:16       ` Sagi Maimon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.