pthread cancel 관련
우선 pthread cancel관련 SYNOPSIS #include int pthread_setcancelstate(int state, int *oldstate); int pthread_setcanceltype(int type, int *oldtype); void pthread_testcancel(void); DESCRIPTION The pthread_setcancelstate() function shall atomically both set the calling thread's cancelability state to the indicated state and return the previous cancelability state at the location referenced by old-state...
Linux Kernel/Thread
2008. 8. 13. 20:54