Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 67e346d3de26a8d7973f310f2f289f71f5e4005b
      
https://github.com/OpenSIPS/opensips/commit/67e346d3de26a8d7973f310f2f289f71f5e4005b
  Author: Vlad Patrascu <vl...@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).



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to