]> git.ipfire.org Git - thirdparty/asterisk.git/commit
lock.c: Add AMI event for deadlocks.
authorNaveen Albert <asterisk@phreaknet.org>
Wed, 27 Jul 2022 19:54:43 +0000 (19:54 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Sun, 11 Sep 2022 23:01:38 +0000 (18:01 -0500)
commit063722a64b55c6bf6f8879f13eeeec27b0f55da9
treedc0810d24f860f7d13949bd595bebc13d8f02cc5
parent4fbaf86a2bc82f3e17c0167c995caafc49101fd6
lock.c: Add AMI event for deadlocks.

Adds an AMI event to indicate that a deadlock
has likely started, when Asterisk is compiled
with DETECT_DEADLOCKS enabled. This can make
it easier to perform automated deadlock detection
and take appropriate action (such as doing a core
dump). Unlike the deadlock warnings, the AMI event
is emitted only once per deadlock.

ASTERISK-30161 #close

Change-Id: Ifc6ed3e390f8b4cff7f8077a50e4d7a5b54e42fb
doc/CHANGES-staging/lock_deadlock.txt [new file with mode: 0644]
main/lock.c