Václav Haisman
2010-06-03 08:06:11 UTC
Hi,
is it possible to obtain some sort of a thread ID that identifies a thread
within a process other than pthread_self()? Something like gettid() on
Linux? Apparently, on FreeBSD the pthread_t is a pointer type and does not
identify the thread well enough. GDB on FreeBSD seems to know about threads
and does not seem to use the same ID as is pthread_t.
--
VH
is it possible to obtain some sort of a thread ID that identifies a thread
within a process other than pthread_self()? Something like gettid() on
Linux? Apparently, on FreeBSD the pthread_t is a pointer type and does not
identify the thread well enough. GDB on FreeBSD seems to know about threads
and does not seem to use the same ID as is pthread_t.
--
VH