[asterisk-dev] thread debug
Mark Michelson
mmichelson at digium.com
Tue Jan 12 10:31:17 CST 2010
Bhrugu Mehta wrote:
> hi all,
>
> how to debug thread in asterisk, anybody help me
> Is threadstorage.h and threadstorage.c file is used for that purpose.
> than how to enable thread debug
>
> thanks and regards,
>
You need to be a bit more clear what you mean by "how to debug thread." There is
a menuselect flag called DEBUG_THREADS which, among other things, adds a "core
show locks" CLI command that allows you to view all threads which currently hold
locks.
threadstorage.h and threadstorage.c are used for thread-local storage.
Mark Michelson
More information about the asterisk-dev
mailing list