[Asterisk-Dev] DEBUG_THREADS in * makefile DeadLocks

TC trclark at shaw.ca
Thu Nov 27 12:03:50 MST 2003


Has anyone turned this option on for thread debuging on a production box
are there any major performance hits if I do this ??

I assume if this is turned on it will expose the ast_mutex_t
and allow one to attach gdb to the locked process and
gdb p the values of file, lineno, function so you can see
what locks are held by all threads ??

..yea i know i gonna try it here first just looking for any experience doing
this ??





More information about the asterisk-dev mailing list