[OpenSIPS-Devel] [OpenSIPS/opensips] baf0d2: Improve child startup error handling by creating a...

Maksym Sobolyev noreply at github.com
Thu Mar 23 22:09:25 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: baf0d2f1a821007be9b2c618735806e78bc81b5a
      https://github.com/OpenSIPS/opensips/commit/baf0d2f1a821007be9b2c618735806e78bc81b5a
  Author: Maksym Sobolyev <sobomax at sippysoft.com>
  Date:   2023-03-23 (Thu, 23 Mar 2023)

  Changed paths:
    M pt.c
    M pt.h

  Log Message:
  -----------
  Improve child startup error handling by creating a "startup"
mutex, locking it before fork in parent and letting child to
unlock it once initialization is complete (or fails). The
parent then waits on this mutex to read out error code and
proceed accordingly.





More information about the Devel mailing list