diff options
author | Olle Johansson <oej@edvina.net> | 2006-04-15 08:07:50 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2006-04-15 08:07:50 +0000 |
commit | 6b3367bf5c22dda34d59dd2174f9555d3ad60a54 (patch) | |
tree | 8e37585dc242426cd3070d0e6771d0af748f60ca /Makefile | |
parent | 9250a6d1290fdc21dd21fb43d5bd14532182d0ac (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-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |