where asynchronous cancelability is enabled (see pthread_setcancelstate (3)). Only the following functions are required ... POSIX.1-2001 and POSIX.1-2008: pthread_cancel() pthread_…destroy () pthread_rwlockattr_init () pthread_self () pthread_setcancelstate () pthread_setcanceltype () pthread_setspecific () pthread_testcancel