<p></p>
<p>Hi kamailio-sync,<br>
Thanks for the inputs. However, I was referring to the usage of lock in the function that calculates the dispatcher latency stats and suggesting to use the same lock while accessing the 'dload' parameter so as to avoid concurrent access issues related to the 'dload' parameter as its a non-atomic integer as of today. Daniel, however, suggested that he would take a further look to suggest what suits better, ie. using the lock OR making the 'dload' parameter as an atomic integer.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2322#issuecomment-628385230">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZLRZYQEMCHY6R5TCNLRRN2H7ANCNFSM4M5V5VYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZI5PBFTELSHYAKKLQDRRN2H7A5CNFSM4M5V5VYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEV2GLTQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2322#issuecomment-628385230",
"url": "https://github.com/kamailio/kamailio/issues/2322#issuecomment-628385230",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>