[OpenSIPS-Devel] [OpenSIPS/opensips] 76027d: [tm] remove unappropriated RW locks and use standa...
Bogdan Andrei IANCU
noreply at github.com
Tue Dec 12 17:31:54 UTC 2023
Branch: refs/heads/3.2
Home: https://github.com/OpenSIPS/opensips
Commit: 76027dde0efb55141343aa229530b312e3869486
https://github.com/OpenSIPS/opensips/commit/76027dde0efb55141343aa229530b312e3869486
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2023-12-12 (Tue, 12 Dec 2023)
Changed paths:
M modules/tm/timer.c
M modules/tm/timer.h
Log Message:
-----------
[tm] remove unappropriated RW locks and use standard ones
In the timer list implementation, all the ops over the list are like writer, so it makes no sense to use the RW locks which overall are a bit slower than the standard simple locks
(cherry picked from commit ac364c169dfb29e79887c20e1c08af0d24673953)
(cherry picked from commit 35f8ea7cd093b075c75f59ef87d3395484f8cd12)
More information about the Devel
mailing list