NAME pthread_testcancel - request delivery of any pending cancelation request LIBRARY POSIX threads library ( libpthread ... lpthread ) SYNOPSIS #include void pthread_testcancel(…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), pthreads