摘要:
深入Pthread(五):线程属性 线程属性相关API phtread_attr_t attr; int pthread_attr_init(pthread_attr_t* attr); int pthread_attr_destroy(pthread_attr_t* attr); int pthread_attr_getdetachstate(pthread_attr_t* attr, int* detachstate); int pthread_attr_setdetachstate(pthread_attr_t* attr, int detachstate); #ifdef _POSIX 阅读全文