PTHREAD_EQUAL(3) BSD Programmer's Manual PTHREAD_EQUAL(3)NAMEpthread_self - return the thread ID of the calling thread
SYNOPSIS
#include <pthread.h>
pthread_t
pthread_self(void);
DESCRIPTION
This interface is defined by IEEE Std1003.1c (``POSIX'').
RETURN VALUES
The pthread_self() function returns the pthread identifier of the calling
thread.
SEE ALSOpthreads(3), pthread_equal(3)STANDARDS
The pthread_self function conforms to IEEE Std1003.1c (``POSIX'').
HISTORY
The pthread_self function first appeared in BSD/OS 3.0.
4th Berkeley Distribution June 3, 1996 1