All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] xenomai 2 LDFLAGS wrappers, posix only
@ 2017-01-10 15:07 Henning Schild
  2017-01-11 11:03 ` Philippe Gerum
  0 siblings, 1 reply; 8+ messages in thread
From: Henning Schild @ 2017-01-10 15:07 UTC (permalink / raw)
  To: xenomai

Hi,

i am about to include three more wrappers into xenomai2 to assert_nrt,
later i plan to create a xenomai3 patch as well. The functions to wrap
are __cxa_guard_(acquire|release|abort). They contain mutexes
protecting the initialization state of static objects in c++ code,
often found when people implement the singleton pattern.

I have got the wrapping code but found that xeno-config will create the
wrapping LDFLAGS only for the posix skin. Is that intentional or an
inconsistency?
Even the wrappers in the "common" skin get applied for posix only.

I tried calling malloc/free in a "--skin=native" example and did not
get the SIGXCPU.

Now i am guessing that the way wrappers are applied in xenomai2 is
somehow inconsistent. Is that something that should be fixed by having
common and per skin wrappers, or would it be ok to simply always append
the posix LDFLAGS as well?

Henning


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

end of thread, other threads:[~2017-01-17 10:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-10 15:07 [Xenomai] xenomai 2 LDFLAGS wrappers, posix only Henning Schild
2017-01-11 11:03 ` Philippe Gerum
2017-01-11 14:47   ` Henning Schild
2017-01-12 17:32     ` Henning Schild
2017-01-12 17:54       ` Philippe Gerum
2017-01-12 18:33         ` Henning Schild
2017-01-12 20:27           ` Jan Kiszka
2017-01-17 10:25           ` Philippe Gerum

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.