pthread_self(3thr)

pthread_self3thr

Return identifier of current thread

Usage

#include <pthread.h>

pthread_t pthread_self(void);

Overview

pthread_self return the thread identifier for the calling thread.

Releases

Unchanged in 4 releases since Debian 1.3 (Bo).

  1. 1.3–2.2

Author

Xavier Leroy <[email protected]>

From glibc-doc 2.1.3-20 in Debian 2.2 (Potato). Parsed by carta from the page's man source.