hpux man page for pthread_self

Query: pthread_self

OS: hpux

Section: 3t

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pthread_self(3T)														  pthread_self(3T)

NAME
pthread_self() - obtain the thread ID for the calling thread
SYNOPSIS
PARAMETERS
None.
DESCRIPTION
returns the of the calling thread. The thread ID returned is the same ID that is returned in the thread parameter to the creating thread at thread creation time. Thread IDs are guaranteed to be unique only within a process.
RETURN VALUE
always returns the thread ID of the current thread.
ERRORS
None.
AUTHOR
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_create(3T), pthread_equal(3T), getpid(2).
STANDARDS CONFORMANCE
Pthread Library pthread_self(3T)
Related Man Pages
pthread_self(3) - linux
pthread_self(3) - centos
pthread_self(3) - osf1
pthread_self(3) - minix
pthread_self(3) - plan9
Similar Topics in the Unix Linux Community
calling pthread_self (on ubuntu), expensive?