<p>Kevin Harwell <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.asterisk.org/10968">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip_registrar: lock transport monitor when setting 'removing' flag<br><br>A previous patch attempt to mitigate blocked threads on transport shutdown for<br>a given contact. It was thought that a second lock could be avoided by checking<br>the 'removing' flag on the transport monitor twice (once before and once after<br>the normal named aor locking). However as with usual threading issues if the<br>timing was right the original problem still occured.<br><br>This patch adds locking around the first 'removing' flag check and set, thus<br>nullifying the secondary check, so it was removed.<br><br>ASTERISK-28213<br><br>Change-Id: Iaa8e36e5311789549b76d8de42dfcea96013b2ed<br>---<br>M res/res_pjsip_registrar.c<br>1 file changed, 10 insertions(+), 18 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/68/10968/2</pre><p>To view, visit <a href="https://gerrit.asterisk.org/10968">change 10968</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.asterisk.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.asterisk.org/10968"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Iaa8e36e5311789549b76d8de42dfcea96013b2ed </div>
<div style="display:none"> Gerrit-Change-Number: 10968 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>