[asterisk-dev] [Code Review] Add LWP for core show threads output
Jeff Peeler
jpeeler at digium.com
Thu Sep 2 12:40:36 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/886/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
I've run into this problem before and couldn't manage to translate the pthread id to the LWP. I'm not sure if such a mapping exists or not, but let's make debugging easier and just include it.
Diffs
-----
/branches/1.4/main/asterisk.c 284559
Diff: https://reviewboard.asterisk.org/r/886/diff
Testing
-------
Tested creating a thread and verified that core show threads output matched gdb output. I do not know if this will work on non-Linux platforms, hence the review.
Thanks,
Jeff
More information about the asterisk-dev
mailing list