Add support for several platforms to obtain the real thread ID.
authorJeff Peeler <jpeeler@digium.com>
Sun, 12 Dec 2010 03:58:33 +0000 (03:58 +0000)
committerJeff Peeler <jpeeler@digium.com>
Sun, 12 Dec 2010 03:58:33 +0000 (03:58 +0000)
commit78bd0de1a91c751c6b495b97994ffbc39173ca27
tree4f29a663898cf85e15ac911b9a1378b0ca5beccf
parentcc541e6852338468565470fbd78a7e76115033a5
Add support for several platforms to obtain the real thread ID.

Already had the pthread ID which is not the same.  The most obvious enhancement
is in the "core show threads" output. As stated in the utils header, if the
platform isn't supported -1 is reported (instead of the process ID previously).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@298137 65c4cc65-6c06-0410-ace0-fbb531ad65f3
configure
configure.ac
include/asterisk/autoconfig.h.in
include/asterisk/utils.h
main/asterisk.c
main/logger.c
main/utils.c