<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">actually, that won't work. [...] your sleep here won't help.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">Well, let's first clarify that it's not my sleep() - I just moved it from signal_handler(), together with osmo_signal_dispatch(). This sleep() was also looking confusing to me, since we also do this in OsmoMSC (https://git.osmocom.org/osmo-msc/tree/src/osmo-msc/msc_main.c#n748) and OsmoBSC (https://git.osmocom.org/osmo-bsc/tree/src/osmo-bsc/osmo_bsc_main.c#n638).</p><p style="white-space: pre-wrap; word-wrap: break-word;">In this patch I just wanted to facilitate printing both root and NULL talloc contexts on exit (see next change). Not sure, if I have time to work on graceful shutdown. I think we need to create an issue, and generalize this process somehow for all projects...</p><p><a href="https://gerrit.osmocom.org/13971">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.osmocom.org/13971">change 13971</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/13971"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I5d8618857c5119d4acca5d65cf1276ab02889c84 </div>
<div style="display:none"> Gerrit-Change-Number: 13971 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder (1000002) </div>
<div style="display:none"> Gerrit-Reviewer: Vadim Yanitskiy <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Sun, 12 May 2019 10:43:31 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>