<p style="white-space: pre-wrap; word-wrap: break-word;">No, the problem is that:</p><p style="white-space: pre-wrap; word-wrap: break-word;">1) i use the vty at run time, since it allows discovering existing threads names - a reasonable approach i think?<br>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?<br>3) i write the config<br>4) starting osmo-mgw now fails since the config is invalid, because at _config file parse time_ the threads do not yet exist.</p><p style="white-space: pre-wrap; word-wrap: break-word;">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!</p><p style="white-space: pre-wrap; word-wrap: break-word;">-> this patch makes the vty "aware" of this and ensures it just works, all the time, and is idiot proof.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/25415">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/25415">change 25415</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/libosmocore/+/25415"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id8405099e6b316c2e14fb0c9b3c5e80a68a91277 </div>
<div style="display:none"> Gerrit-Change-Number: 25415 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Hoernchen <ewild@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: laforge <laforge@osmocom.org> </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Comment-Date: Fri, 10 Sep 2021 15:39:04 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Gerrit-MessageType: comment </div>