Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

OpenSolaris 2009.06 - man page for thr_self (opensolaris section 3c)

thr_self(3C)						   Standard C Library Functions 					      thr_self(3C)

NAME
thr_self - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file...[ library... ] #include <thread.h> thread_t thr_self(void); typedef(unsigned int thread_t);
DESCRIPTION
thr_self() returns the thread ID of the calling thread.
ERRORS
No errors are defined.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+
SEE ALSO
thr_create(3C), attributes(5), standards(5) SunOS 5.11 9 May 1998 thr_self(3C)