On 10/28/2013 02:36 PM, Jan Jaap Kempenaar wrote:
How exactly is the xenomai library initialised?

Witch a function having the "constructor" attribute which makes it
executed before main, but does not give any guarantee that it will be
executed before a C++ static object constructor.

Is this a kind of system function call performed by the application?

Yes.


Can you check whether or not the xenomai library is initialised at a
certain point in the application?

Well, if pthread_mutex_init returns ENOSYS, it means that it is not
initialized. Also, when entering the "main" function, you are sure that the library has been initialized.


As for the wrap-link.sh, we use that in our static linking.

Ok.

--
                                            Gilles.

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

Reply via email to