Hi kamailio-sync,
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.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2322#issuecomment-628385230