]> 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:02:09 +0000 (18:02 -0500)
commit50ce155749594880e8fa4084d0f4d3622436775e
tree18dffdf40bf1cff860de9f143d8fd6343cf30c59
parent8c6c06a3400a5339578386c0d97f98c19274cdb0
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