From 6b3367bf5c22dda34d59dd2174f9555d3ad60a54 Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Sat, 15 Apr 2006 08:07:50 +0000 Subject: New functions for locking a channel - these simplify debugging when you have channel locking issues. (Part of the SIP transfer patch, where I had a *lot* of channel locking problems) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20264 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a28541393..ff9d077e3 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,10 @@ WITH_SMDI = 1 # Optional debugging parameters DEBUG_THREADS = #-DDUMP_SCHEDULER #-DDEBUG_SCHEDULER #-DDEBUG_THREADS #-DDO_CRASH #-DDETECT_DEADLOCKS +# If you want to debug channel locking, try this (depends on code using +# ast_channel_lock and companions to work) +DEBUG_THREADS += #-DDEBUG_CHANNEL_LOCKS + # Uncomment next one to enable ast_frame tracing (for debugging) TRACE_FRAMES = #-DTRACE_FRAMES -- cgit v1.2.3