pthread_self(3P) pthread_self(3P)
pthread_self - identify a thread
#include <pthread.h>
pthread_t pthread_self(void);
The pthread_self() function identifies the calling thread. This is the
same identifier that the creating thread obtains from pthread_create().
pthread_self() returns a value that can be used to identify it.
pthread_create(3P).
PPPPaaaaggggeeee 1111 [ Back ]
|