All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] Porting a library to Xenomai
@ 2015-12-11 12:44 Leopold Palomo-Avellaneda
  2015-12-11 13:20 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 12+ messages in thread
From: Leopold Palomo-Avellaneda @ 2015-12-11 12:44 UTC (permalink / raw)
  To: Xenomai list

Hi,

I'm working to make a library to work with Xenomai. It's a library that has a 
thread and open a socket to communicate with an external device via network.

I have read the guide "Porting a Linux application to Xenomai dual kernel [1]" 
but still I have some doubts in some details. So, here my topics without any 
importance order:

- What is the recommended way to obtain the link, flags, etc information to 
build an application that use Xenomai? xeno-config, pkg-config, some build 
macros to find the information, ... 

- I would like to have a code that could be used with an Standard POSIX or a 
Xenomai. I thought that protecting my code with some #ifdef __XENO__ I could 
choose which part is specific to Xenomai and which no. However, I'm a bit 
confused, because then, I don't understand what is the utility of the wrap 
script. Please, could you elaborate a bit more this part, especially focused 
in an application the could use an standard network interface or rtnet 
version.

- In the document, there's a section about the mlockall option. So, may I 
understand that from xenomai <= 2.6.3 it's not needed that I call the mlockall 
function?

Best regards,

Leopold
----
[1] https://xenomai.org/2014/08/porting-a-linux-application-to-xenomai-dual-kernel/
[2] http://letsmakerobots.com/node/28812#comment-86166
-- 
--
Linux User 152692     GPG: 05F4A7A949A2D9AA
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://xenomai.org/pipermail/xenomai/attachments/20151211/90b8a76b/attachment.sig>

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

end of thread, other threads:[~2015-12-17  9:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-11 12:44 [Xenomai] Porting a library to Xenomai Leopold Palomo-Avellaneda
2015-12-11 13:20 ` Gilles Chanteperdrix
2015-12-11 14:03   ` Leopold Palomo-Avellaneda
2015-12-11 14:09     ` Gilles Chanteperdrix
2015-12-11 15:33       ` Leopold Palomo-Avellaneda
2015-12-11 16:31         ` Gilles Chanteperdrix
2015-12-15 15:16           ` Leopold Palomo-Avellaneda
2015-12-15 15:46             ` Gilles Chanteperdrix
2015-12-16 15:45               ` Leopold Palomo-Avellaneda
2015-12-17  0:05                 ` Gilles Chanteperdrix
2015-12-17  9:00                   ` Leopold Palomo-Avellaneda
2015-12-17  9:25                     ` Gilles Chanteperdrix

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.