mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
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
This commit is contained in:
committed by
Friendly Automation
parent
f4ea243e49
commit
1456dc757b
5
doc/CHANGES-staging/lock_deadlock.txt
Normal file
5
doc/CHANGES-staging/lock_deadlock.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
Subject: locks
|
||||
|
||||
A new AMI event, DeadlockStart, is now available
|
||||
when Asterisk is compiled with DETECT_DEADLOCKS,
|
||||
and can indicate that a deadlock has occured.
|
Reference in New Issue
Block a user