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

Bogdan Andrei IANCU noreply at github.com
Tue Dec 12 17:29:25 UTC 2023


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 35f8ea7cd093b075c75f59ef87d3395484f8cd12
      https://github.com/OpenSIPS/opensips/commit/35f8ea7cd093b075c75f59ef87d3395484f8cd12
  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