[OpenSIPS-Devel] [OpenSIPS/opensips] 337791: RW locking: Add a pair of re-entrant functions for...

Liviu Chircu noreply at github.com
Thu Jan 11 14:01:15 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 337791836230be1f83528cc7896b57736be275fe
      https://github.com/OpenSIPS/opensips/commit/337791836230be1f83528cc7896b57736be275fe
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    M rw_locking.h

  Log Message:
  -----------
  RW locking: Add a pair of re-entrant functions for readers

In some cases, the same lock_start_read() function could be reached
multiple times in a nested fashion, e.g. after running a callback which
returns the control flow to the same module through an API call done by
the module which installed the callback.





More information about the Devel mailing list