<p>Josh Soref has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/16676">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">spelling: acquire<br><br>Change-Id: I4852c96f70deadc7f8f2a0a2d66f77d83b176fca<br>---<br>M main/utils.c<br>1 file changed, 2 insertions(+), 2 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/76/16676/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/main/utils.c b/main/utils.c</span><br><span>index c6e71d9..928e082 100644</span><br><span>--- a/main/utils.c</span><br><span>+++ b/main/utils.c</span><br><span>@@ -1215,11 +1215,11 @@</span><br><span> with for this lock?</span><br><span> </span><br><span> To answer such questions, just call this routine before you would normally try</span><br><span style="color: hsl(0, 100%, 40%);">- to aquire a lock. It doesn't do anything if the lock is not acquired. If the</span><br><span style="color: hsl(120, 100%, 40%);">+ to acquire a lock. It doesn't do anything if the lock is not acquired. If the</span><br><span> lock is taken, it will publish a line or two to the console via ast_log().</span><br><span> </span><br><span> Sometimes, the lock message is pretty uninformative. For instance, you might</span><br><span style="color: hsl(0, 100%, 40%);">- find that the lock is being aquired deep within the astobj2 code; this tells</span><br><span style="color: hsl(120, 100%, 40%);">+ find that the lock is being acquired deep within the astobj2 code; this tells</span><br><span> you little about higher level routines that call the astobj2 routines.</span><br><span> But, using gdb, you can set a break at the ast_log below, and for that</span><br><span> breakpoint, you can set the commands:</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/16676">change 16676</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/c/asterisk/+/16676"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I4852c96f70deadc7f8f2a0a2d66f77d83b176fca </div>
<div style="display:none"> Gerrit-Change-Number: 16676 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-CC: Friendly Automation </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>