From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Mohit Jandwani <mohitjandwani@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai RT user application- POSIX interface
Date: Fri, 22 Jun 2012 09:13:27 +0200 [thread overview]
Message-ID: <4FE41B17.7030604@xenomai.org> (raw)
In-Reply-To: <CAHyVJyz4B9Z1nCLEg3G9u-r5d5iHdGwiA78w_enRc--MuVrgMQ@mail.gmail.com>
On 06/22/2012 03:57 AM, Mohit Jandwani wrote:
> Hello I am trying to develop a real time Ethercat master on xenomai on an
> exynos board.While I am still stuck with installing xenomai(and plan to
> give it all next week), I have run into some problems which I have not
> been able to find on the website anywhere.
>
> I am trying to use the posix skin of xenomai(as I need the stdio functions
> and socket functions) simply because of portability and the fact that I
> don't have to install it(I can build it while building the kernel).What I
> want to ask is:
> If I use the sockets in posix skin , does that still guarantee real-time ?
> Why is the socket interface not listed in the Posix API pdf ?
> If my code is still real-time does that means I can do file handling in
> real time too?(because I can use local protocol family for reading files
> through sockets)
The sockets call in xenomai posix skin are implemented by the RTDM
skin, you need an RTDM driver to implement them if you want real-time
sockets. For instance, for real-time UDP or TCP sockets, you have to
install RTnet, .
>
>
> Also I tried using the pthread file in the posix skin folder, I was unable
> to include the functions
> .Everytime I used pthread_mutex_init it gave me a implicit declaration of
> function error
> .I even tried using #include "posix/pthread" but it didn't work although my
> eclipse clearly shows that the header file has been included.
> (PS: I can include almost all other header files including the
> posix/socket.h without a problem).
> Is this a bug? or am I doing something wrong?
>
In order to compile applications using xenomai posix skin, see:
http://www.xenomai.org/index.php/Porting_POSIX_applications_to_Xenomai#Compilation_for_the_Xenomai_POSIX_skin
--
Gilles.
next prev parent reply other threads:[~2012-06-22 7:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-22 1:57 [Xenomai] Xenomai RT user application- POSIX interface Mohit Jandwani
2012-06-22 7:13 ` Gilles Chanteperdrix [this message]
[not found] ` <CAHyVJywmT80V8WK=2ERmqfj+OXdjLjv4Hatu+8sonvZn0KJ+mA@mail.gmail.com>
2012-06-22 8:44 ` Gilles Chanteperdrix
2012-06-23 2:28 ` Mohit Jandwani
2012-06-23 11:09 ` Gilles Chanteperdrix
2012-06-22 7:27 ` Gilles Chanteperdrix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FE41B17.7030604@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=mohitjandwani@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.