[OpenSIPS-Devel] [OpenSIPS/opensips] fef5f5: Make stdatomic-systems (i.e. risc-v) usable outsid...

Maksym Sobolyev noreply at github.com
Wed Apr 19 19:50:58 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fef5f53cfc1dbfa5615c3d98a41b7362a6a27777
      https://github.com/OpenSIPS/opensips/commit/fef5f53cfc1dbfa5615c3d98a41b7362a6a27777
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M atomic.h
    M mem/common.h
    M mem/hp_malloc.h
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  Make stdatomic-systems (i.e. risc-v) usable outside of the
statistics module. Had to shuffle some headers around to resolve
changed dependencies.


  Commit: 6940ca8cfd275dcb57f6e994dded8719d1c527df
      https://github.com/OpenSIPS/opensips/commit/6940ca8cfd275dcb57f6e994dded8719d1c527df
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M pt.c
    M pt.h

  Log Message:
  -----------
  Rework startup lock using atomic variable + waitpid(WNOHANG).
Turns out you cannot lock mutex in thread A and then let
thread B to unlock it with POSIX threads.


Compare: https://github.com/OpenSIPS/opensips/compare/fcce85ce2d48...6940ca8cfd27



More information about the Devel mailing list