.TH PTHREAD_SELF 3 LinuxThreads .SH NAME pthread_self \- return identifier of current thread .SH SYNOPSIS .B #include .BI "pthread_t pthread_self(void);" .SH DESCRIPTION .B "pthread_self" return the thread identifier for the calling thread. .SH AUTHOR Xavier Leroy .SH "SEE ALSO" .BR "pthread_equal" (3), .BR "pthread_join" (3), .BR "pthread_detach" (3), .BR "pthread_setschedparam" (3), .BR "pthread_getschedparam" (3).