Get the thread detach state attribute
#include <pthread.h> int pthread_attr_getdetachstate( const pthread_attr_t* attr, int* detachstate );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The pthread_attr_getdetachstate() function gets the thread detach state attribute from the thread attribute object attr and returns it in detachstate.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |