[asterisk-dev] Asterisk vs system thread IDs

Tilghman Lesher tilghman at meg.abyt.es
Mon Feb 14 21:15:46 CST 2011


On Monday 14 February 2011 18:50:54 Kirill Katsnelson wrote:
> `core show locks' and `core show threads' print 64-bit threads IDs, the
> system uses 16-bit ones. Is there a way to map one to another?
> 
> Linux 2.6.28 x86_64 here.

/usr/include/bits/pthreadtypes.h says that the pthread_t type is an
unsigned long int.  What weird x86_64 system are you running where a
long integer is only 16-bits wide?

-- 
Tilghman



More information about the asterisk-dev mailing list