pthread_self - return identifier of current thread
#include <pthread.h>
pthread_t pthread_self(void);
pthread_self return the thread identifier for the calling
thread.
Xavier Leroy <Xavier.Leroy@inria.fr>
pthread_equal(3), pthread_join(3), pthread_detach(3),
pthread_setschedparam(3), pthread_getschedparam(3).