[OpenSIPS-Devel] [OpenSIPS/opensips] ead6f1: clusterer: use the proper locking type when we mig...
Vlad Pătrașcu
noreply at github.com
Wed Jun 22 07:56:16 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: ead6f1fcae3881a15b6ec4e8e6026bdd5d99ecb3
https://github.com/OpenSIPS/opensips/commit/ead6f1fcae3881a15b6ec4e8e6026bdd5d99ecb3
Author: Vlad Patrascu <vladp at opensips.org>
Date: 2022-06-22 (Wed, 22 Jun 2022)
Changed paths:
M modules/clusterer/clusterer.c
Log Message:
-----------
clusterer: use the proper locking type when we might switch for writing
Aquire lock for switchable reading when handling a full topology update,
wich might trigger the insert of a new node in the list and thus using
the lock switch mechanism.
More information about the Devel
mailing list