[OpenSIPS-Devel] [OpenSIPS/opensips] 8ffd36: [tm] remove unappropriated RW locks and use standa...

Bogdan Andrei IANCU noreply at github.com
Tue Dec 12 17:18:11 UTC 2023


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 8ffd36c8189ac3bc6d713d435a23f99dd072c5ae
      https://github.com/OpenSIPS/opensips/commit/8ffd36c8189ac3bc6d713d435a23f99dd072c5ae
  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)





More information about the Devel mailing list