pthread_setcancelstate
pthread_setcancelstate(int state, int *oldstate)
#define pthread_setcancelstate __libc_thr_setcancelstate