Change in libosmocore[master]: vty sched: add api to force deferred applying

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Hoernchen gerrit-no-reply at lists.osmocom.org
Fri Sep 10 15:39:04 UTC 2021


Hoernchen has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/25415 )

Change subject: vty sched: add api to force deferred applying
......................................................................


Patch Set 2:

No, the problem is that:

1) i use the vty at run time, since it allows discovering existing threads names - a reasonable approach i think?
2) i then just configure affinities for those threads, which at this time still exist - also kind of the obvious thing, since it is convenient?
3) i write the config
4) starting osmo-mgw now fails since the config is invalid, because at _config file parse time_ the threads do not yet exist.

For some applications the threads might already exist, for some not, but this is not something the user can or should know. You can't expect users to read the manual and find the one line that says "oh by the way THIS program ALWAYS needs the delay flag when configuring using the vty/editing the file manually", especially if the vty is unaware of this and does not enforce it!

-> this patch makes the vty "aware" of this and ensures it just works, all the time, and is idiot proof.


-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/25415
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Id8405099e6b316c2e14fb0c9b3c5e80a68a91277
Gerrit-Change-Number: 25415
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Fri, 10 Sep 2021 15:39:04 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210910/a9046540/attachment.htm>


More information about the gerrit-log mailing list