pthread_self - get calling thread's ID
#include <pthread.h> pthread_t pthread_self(void);
The pthread_self() function returns the thread ID of the calling thread.
See DESCRIPTION above.
No errors are defined.The pthread_self() function will not return an error code of [EINTR].
None.
None.
None.
pthread_create(), pthread_equal(), <pthread.h>.
Derived from the POSIX Threads Extension (1003.1c-1995)