Re: Thread_Id

Robert Hancock
2005-07-06T04:59:42Z

RVK wrote:
> Can anyone suggest me how to get the threadId using 2.6.x kernels.
> pthread_self() does not work and returns some -ve integer.

What do you mean, negative integer? It's not an integer, it's a
pthread_t, you're not even supposed to look at it..

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/