SunOS man pages : thr_self (3)
Threads Library Functions thr_self(3THR)
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 attri-
butes:
____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
thr_create(3THR), attributes(5), standards(5)
SunOS 5.8 Last change: 9 May 1998 1
|
 |
|
|