[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Thread ID




If  you are using POSIX threads , see pthread_self () which returns the
thread id of the calling function.


prateek
prateekg@xxxxxxxxxxxxxxxx
" NEVER PLAY LEAPFROG WITH A UNICORN"




This may help

http://docs.sun.com/ab2/coll.40.6/REFMAN3D/@Ab2TocView?Ab2Lang=C&Ab2Enc=iso-8859-1


Bye
Sumit

vnair@xxxxxxxxxxx wrote:

> Hello list,
>
> I couldn't find a sys call to find the thread id of the thread from
itself ...
> something like..
>
> TIA
>