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

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


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





More information about the Devel mailing list