summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2006-04-15 08:07:50 +0000
committerOlle Johansson <oej@edvina.net>2006-04-15 08:07:50 +0000
commit6b3367bf5c22dda34d59dd2174f9555d3ad60a54 (patch)
tree8e37585dc242426cd3070d0e6771d0af748f60ca /Makefile
parent9250a6d1290fdc21dd21fb43d5bd14532182d0ac (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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