PTHREAD_CANCEL_ASYNCHRONOUS
case PTHREAD_CANCEL_ASYNCHRONOUS:
*oldtype = oldval ? PTHREAD_CANCEL_ASYNCHRONOUS :