Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 48023acfe5a88cb36093c29596169eccb6ce38ee
      
https://github.com/OpenSIPS/opensips/commit/48023acfe5a88cb36093c29596169eccb6ce38ee
  Author: Vlad Patrascu <vl...@opensips.org>
  Date:   2019-03-05 (Tue, 05 Mar 2019)

  Changed paths:
    M modules/clusterer/sharing_tags.c

  Log Message:
  -----------
  clusterer: 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
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