sunos man page for pthread_self

Query: pthread_self

OS: sunos

Section: 3c

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

pthread_self(3C)														  pthread_self(3C)

NAME
pthread_self - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ] #include <pthread.h> pthread_t pthread_self(void); The pthread_self() function returns the thread ID of the calling thread. No errors are defined. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Standard | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ pthread_create(3C), pthread_equal(3C), attributes(5), standards(5) 23 Mar 2005 pthread_self(3C)
Related Man Pages
pthread_equal(3c) - opensolaris
pthread_self(3c) - opensolaris
pthread_self(3) - debian
pthread_self(3) - plan9
pthread_self(3) - ultrix
Similar Topics in the Unix Linux Community
calling pthread_self (on ubuntu), expensive?