[OpenSIPS-Devel] [OpenSIPS/opensips] 67e346: dialog: fix processes serialization when fetching ...
Vlad Pătrașcu
noreply at github.com
Tue Mar 5 07:33:44 EST 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 67e346d3de26a8d7973f310f2f289f71f5e4005b
https://github.com/OpenSIPS/opensips/commit/67e346d3de26a8d7973f310f2f289f71f5e4005b
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2019-03-05 (Tue, 05 Mar 2019)
Changed paths:
M modules/dialog/dlg_replication.c
Log Message:
-----------
dialog: fix processes serialization when fetching sharing tag state
High contention on a RW lock aquired for switchable reading has the same
downsides as direclty aquring it for writing. This commit improves this
by switching from read to write in separate steps, with basic rw lock
ops (start/stop read/write).
More information about the Devel
mailing list