xenomai3 has its tuneables and they can be set with command-line
parameters and setup_descriptors.
The command-line parameters impose on the application, it has to be
modified to skip/ignore them. And ultimately it has to keep a list of
valid ones to do so pedanticly. If there are name clashes behaviour is
unclear. i.e. "--help" ld.so vs. dlopen
The setup_descriptors do work but they rely on getting the order
stricly right. They have to execute before the first xenomai_init(). In
complex applications with multithreaded init using dlopen() and
auto-init-solib that quickly turns out to be unusable.
1.1 completely drop the support for parameters and the fiddling
1.2 or agree on a prefix "--xeno-" so the application can ignore all
xenomai parameters without knowing all
2.1 completely drop the setup_descriptors in favour of environment
That would be a drastic change but i think we should do something about
it. With environment variables it is clear what happens without messing
with the applications init or parameters, getting rid of confusing
Please let me know what you think, i would be happy to prepare patches.
Xenomai mailing list