<p>Richard Mudgett <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/5888">View Change</a></p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p>(2 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/5888/1/main/core_local.c">File main/core_local.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/5888/1/main/core_local.c@238">Patch Set #1, Line 238:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">void ast_local_lock_all2(struct ast_channel *chan, void **tech_pvt, void **base_pvt,<br>             struct ast_channel **base_chan, struct ast_channel **base_owner)<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">You don't need to save both tech_pvt and base_pvt since they must always point to the same place.  It is a requirement of subclassing the unreal channels that the base pvt struct be the first member of the subclass.</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/5888/1/main/core_local.c@265">Patch Set #1, Line 265:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">void ast_local_unlock_all2(struct ast_channel *chan, void *tech_pvt, void *base_pvt,<br>         struct ast_channel *base_chan, struct ast_channel *base_owner)<br></pre></blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">chan is not needed to pass in.<br>only tech_pvt or base_pvt is needed since they always point to the same place.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/5888">change 5888</a>. To unsubscribe, 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/5888"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: Ice96653e29bd9d6674ed5f95feb6b448ab148b09 </div>
<div style="display:none"> Gerrit-Change-Number: 5888 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Kevin Harwell <kharwell@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 21 Jun 2017 15:42:39 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>