![]() |
![]() |
![]() |
Get thread detach state attribute
#include <pthread.h> int pthread_attr_getdetachstate( const pthread_attr_t* attr, int* detachstate );
libc
The pthread_attr_getdetachstate() function gets the thread detach state attribute from the thread attribute object attr and returns it in detachstate.
See the pthread_attr_setdetachstate() function for possible values of detachstate.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
pthread_attr_setdetachstate(), pthread_attr_init(), pthread_create().
![]() |
![]() |
![]() |