NAME pthread_testcancel - request delivery of any pending cancelation request LIBRARY POSIX threads library ( libpthread ... lpthread ) SYNOPSIS #include void pthread_testcancel(…timedwait() pthread_cond_wait() pthread_join() pthread_testcancel() putmsg() putpmsg() pwrite() read() readv() recv() recvfrom ... sigmask (3), pthread_sigqueue (3), and pthread_te…NULL); curr = time(NULL); while (!done) { pthread_testcancel(); /* A cancelation point */ if (curr < time(NULL ... defer_np (3), pthread_setcancelstate (3), pthread_testcancel (3),…NULL); curr = time(NULL); while (!done) { pthread_testcancel(); /* A cancelation point */ if (curr < time(NULL ... defer_np (3), pthread_setcancelstate (3), pthread_testcancel (3),…pthread_setcancelstate (3), pthread_setcanceltype (3), pthread_testcancel (3), pthreadscancel (3), pthread_cleanup_push (3), pthread_testcancel (3), pthreadscancel (3), pthread_cleanup_push (3), pthread_testcancel (3), pthreadspthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following code fragment allocatespthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following code fragment allocatespthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following code fragment allocatespthread_create(3), pthread_exit(3), pthread_testcancel(3). EXAMPLE The following code fragment allocatescleanup_push (3), pthread_setcancelstate (3), pthread_testcancel (3), pthreadscleanup_push (3), pthread_setcancelstate (3), pthread_testcancel (3), pthreadspthread_setcancelstate () pthread_setcanceltype () pthread_setspecific () pthread_testcancel () TMO - _POSIX_TIMEOUTS - _SC_TIMEOUTS The following