Standard C Library Functions pthreadself(3C)
NAME
pthreadself - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include
pthreadt pthreadself(void);
DESCRIPTION
The pthreadself() function returns the thread ID of the
calling thread.
ERORS
No errors are defined.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Interface Stability Standard
MT-Level MT-Safe
SEE ALSO
pthreadcreate(3C), pthreadequal(3C), attributes(5), stan-
dards(5)
SunOS 5.11 Last change: 23 Mar 2005 1
|