Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-30 Thread Henning Schild
Am Tue, 29 Aug 2017 22:02:06 +0200 schrieb Philippe Gerum : > On 08/29/2017 07:20 PM, Henning Schild wrote: > > I do not mind changing the customers software to address the issue > > there. The whole thread was about making xenomai simpler, inspired > > by having to look deeper into the settings/t

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Philippe Gerum
On 08/29/2017 10:02 PM, Philippe Gerum wrote: > On 08/29/2017 07:20 PM, Henning Schild wrote: >> I do not mind changing the customers software to address the issue >> there. The whole thread was about making xenomai simpler, inspired by >> having to look deeper into the settings/tuneables. >> The f

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Philippe Gerum
On 08/29/2017 07:20 PM, Henning Schild wrote: > I do not mind changing the customers software to address the issue > there. The whole thread was about making xenomai simpler, inspired by > having to look deeper into the settings/tuneables. > The fact that we had to talk about it for so long could i

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Henning Schild
Am Tue, 29 Aug 2017 18:10:12 +0200 schrieb Philippe Gerum : > On 08/29/2017 02:27 PM, Henning Schild wrote: > > Am Tue, 29 Aug 2017 13:05:47 +0200 > > schrieb Philippe Gerum : > > >> You could dlopen() libplugin.so directly or indirectly via the > >> dependency list a hundred times, you would o

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Philippe Gerum
On 08/29/2017 02:27 PM, Henning Schild wrote: > Am Tue, 29 Aug 2017 13:05:47 +0200 > schrieb Philippe Gerum : >> You could dlopen() libplugin.so directly or indirectly via the >> dependency list a hundred times, you would only get a single bootstrap >> if the bootstrap module is glued to the DSO.

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Henning Schild
Am Tue, 29 Aug 2017 13:05:47 +0200 schrieb Philippe Gerum : > On 08/25/2017 07:16 PM, Henning Schild wrote: > > Am Wed, 16 Aug 2017 20:13:34 +0200 > > schrieb Philippe Gerum : > > > >> On 08/08/2017 09:27 PM, Henning Schild wrote: > >>> > Could you sketch the requirements of the app

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-29 Thread Philippe Gerum
On 08/25/2017 07:16 PM, Henning Schild wrote: > Am Wed, 16 Aug 2017 20:13:34 +0200 > schrieb Philippe Gerum : > >> On 08/08/2017 09:27 PM, Henning Schild wrote: >>> Could you sketch the requirements of the app with respect to option parsing (namespace left aside)? Is there some main >

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-28 Thread Jan Kiszka
On 2017-08-28 08:25, Stéphane Ancelot wrote: > Hi, > > hardcoded and cmdline args benefits from an added value for real > applications. We don't want args being "volatile" > > environment variables are volatile and sometimes difficult to propagate > between shells... This is not about removing c

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-27 Thread Stéphane Ancelot
Hi, hardcoded and cmdline args benefits from an added value for real applications. We don't want args being "volatile" environment variables are volatile and sometimes difficult to propagate between shells... Regards, S.Ancelot Le 08/08/2017 à 11:23, Henning Schild a écrit : Hey, xenom

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-25 Thread Henning Schild
Am Wed, 16 Aug 2017 20:13:34 +0200 schrieb Philippe Gerum : > On 08/08/2017 09:27 PM, Henning Schild wrote: > > > >> Could you sketch the requirements of the app with respect to > >> option parsing (namespace left aside)? Is there some main > >> non-Xenomai executable dlopening a Xenomai-based

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-21 Thread Philippe Gerum
On 08/21/2017 01:12 PM, Henning Schild wrote: > Am Wed, 16 Aug 2017 20:13:34 +0200 > schrieb Philippe Gerum : > >> On 08/08/2017 09:27 PM, Henning Schild wrote: >>> Could you sketch the requirements of the app with respect to option parsing (namespace left aside)? Is there some main >

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-21 Thread Henning Schild
Am Wed, 16 Aug 2017 20:13:34 +0200 schrieb Philippe Gerum : > On 08/08/2017 09:27 PM, Henning Schild wrote: > > > >> Could you sketch the requirements of the app with respect to > >> option parsing (namespace left aside)? Is there some main > >> non-Xenomai executable dlopening a Xenomai-based

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-16 Thread Philippe Gerum
On 08/08/2017 09:27 PM, Henning Schild wrote: > >> Could you sketch the requirements of the app with respect to option >> parsing (namespace left aside)? Is there some main non-Xenomai >> executable dlopening a Xenomai-based solib defining a set of >> rt-specific options? > > Yes the applicatio

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Henning Schild
Am Tue, 8 Aug 2017 20:05:07 +0200 schrieb Philippe Gerum : > On 08/08/2017 01:48 PM, Henning Schild wrote: > > Am Tue, 8 Aug 2017 12:24:54 +0200 > > schrieb Philippe Gerum : > >> No, the core takes care of this. I'm unsure what your application > >> does to hit any conflict of that kind. > > >

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Philippe Gerum
On 08/08/2017 01:48 PM, Henning Schild wrote: Am Tue, 8 Aug 2017 12:24:54 +0200 schrieb Philippe Gerum : No, the core takes care of this. I'm unsure what your application does to hit any conflict of that kind. dlopen() so main will see arguments meant for xenomai_init() or you need to no_auto_

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Henning Schild
Am Tue, 8 Aug 2017 12:24:54 +0200 schrieb Philippe Gerum : > On 08/08/2017 11:23 AM, Henning Schild wrote: > > Hey, > > > > xenomai3 has its tuneables and they can be set with command-line > > parameters and setup_descriptors. > > > > 1. > > The command-line parameters impose on the application, i

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Jan Kiszka
On 2017-08-08 06:24, Philippe Gerum wrote: > On 08/08/2017 11:23 AM, Henning Schild wrote: >> Hey, >> >> xenomai3 has its tuneables and they can be set with command-line >> parameters and setup_descriptors. >> >> 1. >> The command-line parameters impose on the application, it has to be >> modified

Re: [Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Philippe Gerum
On 08/08/2017 11:23 AM, Henning Schild wrote: Hey, xenomai3 has its tuneables and they can be set with command-line parameters and setup_descriptors. 1. The command-line parameters impose on the application, it has to be modified to skip/ignore them. No, the core takes care of this. I'm unsur

[Xenomai] [RFC] Xenomai3 tuneables replaced by environment variables

2017-08-08 Thread Henning Schild
Hey, xenomai3 has its tuneables and they can be set with command-line parameters and setup_descriptors. 1. 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 cl