[sr-dev] [kamailio/kamailio] Kamailio dispatcher module reports incorrect values with Call-Load based dispatching algorithm(No.10) (#2322)

Daniel-Constantin Mierla notifications at github.com
Mon May 11 16:34:00 CEST 2020


I am pretty much sure the increment/decrement operations on integers are atomic, so using locks only to guard increment/decrement should not needed.

For the if-check-then-update makes sense, I will try to analyse better your report and see what would be a good solution from my point of view. Probably we can use an atomic variable for the counter field.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2322#issuecomment-626741157
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200511/56eb9f99/attachment.html>


More information about the sr-dev mailing list