tail head cat sleep
QR code linking to this page

Manual Pages  — PTHREAD_SELF

NAME

pthread_self – get the calling thread's ID

CONTENTS

LIBRARY

POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS

#include <pthread.h>

pthread_t
pthread_self(void);

DESCRIPTION

The pthread_self() function returns the thread ID of the calling thread.

RETURN VALUES

The pthread_self() function returns the thread ID of the calling thread.

ERRORS

None.

SEE ALSO

pthread_create(3), pthread_equal(3), pthread_getthreadid_np(3)

STANDARDS

The pthread_self() function conforms to IEEE Std 1003.1-96 ("POSIX.1").

PTHREAD_SELF (3) April 4, 1996

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Computer science would have progressed much further and faster if all of the time and effort that has been spent maintaining and nurturing Unix had been spent on a sounder operating system.
— The Unix Haters' handbook