[Xenomai] xenomai 2 LDFLAGS wrappers, posix only
henning.schild at siemens.com
Tue Jan 10 16:07:57 CET 2017
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
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?
More information about the Xenomai