![]() |
![]() |
![]() |
Get calling thread's ID
#include <pthread.h> pthread_t pthread_self( void );
libc
The pthread_self() function returns the thread ID of the calling thread.
See above.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pthread_create(), pthread_equal()
![]() |
![]() |
![]() |