<blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><p style="white-space: pre-wrap; word-wrap: break-word;">I understand that, but PJLIB functions which allocate memory from a<br>pool and perform actions should be done within a PJLIB registered<br>thread. I believe we may disable the warning, but PJSIP did yell at<br>you if you did not follow this boundary in the past and the<br>behavior drifts into undefined territory - as they could do<br>something in the future which breaks it if you do not do it on a<br>PJLIB registered thread. It is best to respect the boundary.</p></blockquote><p style="white-space: pre-wrap; word-wrap: break-word;">My bad.</p><p style="white-space: pre-wrap; word-wrap: break-word;">https://www.pjsip.org/pjsip/docs/html/group__PJSIP__ENDPT.htm#ga933050e06b1bb573ade79a4fcb5ea5d6<br>"This function, like all other endpoint functions, is thread safe."</p><p style="white-space: pre-wrap; word-wrap: break-word;">I thought that "thread safe" means this function could be called on any thread even if the thread is not PJSIP registered.</p><p><a href="https://gerrit.asterisk.org/10577">View Change</a></p><ul style="list-style: none; padding: 0;"></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10577">change 10577</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/10577"/><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: I5d828fb87f6803b6c1152bb7b44835f027bb9d5a </div>
<div style="display:none"> Gerrit-Change-Number: 10577 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Alexei Gradinari <alex2grad@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 05 Nov 2018 18:28:53 +0000 </div>
<div style="display:none"> Gerrit-HasComments: No </div>
<div style="display:none"> Gerrit-HasLabels: No </div>