Интерактивная система просмотра системных руководств (man-ов)
pthread_self (3)
>> pthread_self (3) ( Solaris man: Библиотечные вызовы ) pthread_self (3) ( FreeBSD man: Библиотечные вызовы ) pthread_self (3) ( Linux man: Библиотечные вызовы ) pthread_self (3) ( POSIX man: Библиотечные вызовы )
NAME
pthread_self - get calling thread's ID
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
pthread_t pthread_self(void);
DESCRIPTION
The pthread_self() function 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
|
|
| Interface Stability | Standard
|
|
| MT-Level |
|
SEE ALSO
pthread_create(3C), pthread_equal(3C), attributes(5), standards(5)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- ERRORS
-
- ATTRIBUTES
-
- SEE ALSO
-