Thread_Id

RVK
2005-07-05T12:23:51Z

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

thanks
rvk