From: Richard Weinberger <richard@sigma-star.at>
To: Simon Graber <simon.graber@sigma-star.at>,
xenomai@lists.linux.dev, upstream+xenomai@sigma-star.at,
Jan Kiszka <jan.kiszka@siemens.com>
Subject: Re: [PATCH 1/3] lib/copperplate: Get session name from env var
Date: Thu, 22 Aug 2024 12:57:17 +0200 [thread overview]
Message-ID: <6235310.YiXZdWvhHV@somecomputer> (raw)
In-Reply-To: <4b024ebb-7d6f-4382-8427-f16024d2b387@siemens.com>
Am Donnerstag, 22. August 2024, 12:51:34 CEST schrieb 'Jan Kiszka' via upstream:
> On 22.08.24 10:07, Simon Graber wrote:
> > At present, for two Xenomai processes to share resources, they must
> > be started with identical --session= parameters.
> > This is cumbersome for extensive projects involving numerous helper
> > processes. This commit allows the specification of the session name
> > via a global environment variable, namely XENO_SESSION_NAME.
> > The --session= parameter overrules the environment variable.
>
> Hmm, did we discuss priorities already, and did I say that this ordering
> would be best? Then I'm no longer that sure, and my feeling is rather
> that env should overrule command line. Still looking for other examples,
> though.
I remember, but the other way around.
Env overruling commandline seems not natural too me.
Passing --session= to an application and seeing no effect is not
user friendly.
IMHO, the environment should be a default/fallback.
Thanks,
//richard
--
sigma star gmbh | Eduard-Bodem-Gasse 6, 6020 Innsbruck, AUT
UID/VAT Nr: ATU 66964118 | FN: 374287y
next prev parent reply other threads:[~2024-08-22 10:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 8:07 [PATCH 0/3] Add env vars for session and cpu-affinity Simon Graber
2024-08-22 8:07 ` [PATCH 1/3] lib/copperplate: Get session name from env var Simon Graber
2024-08-22 10:51 ` Jan Kiszka
2024-08-22 10:57 ` Richard Weinberger [this message]
2024-08-22 10:59 ` Jan Kiszka
2024-08-22 11:16 ` Richard Weinberger
2024-08-22 12:35 ` Jan Kiszka
2024-08-22 11:38 ` Simon
2024-08-22 8:07 ` [PATCH 2/3] lib/boilerplate: Get cpu-affinity " Simon Graber
2024-08-22 8:07 ` [PATCH 3/3] alchemytests: Set cpu-affinity by " Simon Graber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6235310.YiXZdWvhHV@somecomputer \
--to=richard@sigma-star.at \
--cc=jan.kiszka@siemens.com \
--cc=simon.graber@sigma-star.at \
--cc=upstream+xenomai@sigma-star.at \
--cc=xenomai@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.