HP-UX Reference (11i v1 00/12) - 3 Library Functions N-Z (vol 7)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man3/nan.3m
________________________________________________________________
___ ___
p
pthread_testcancel(3T) pthread_testcancel(3T)
(Pthread Library)
NAME
pthread_testcancel() - process any pending cancellation requests
SYNOPSIS
#include <pthread.h>
void pthread_testcancel(void);
PARAMETERS
None.
DESCRIPTION
The pthread_testcancel() function checks for any pending cancellation requests against the calling
thread. If a cancellation request is pending and the calling thread has its cancelability state enabled, the
cancellation request will be acted upon. If the cancelability state of the calling thread is disabled, this func-
tion will have no effect.
RETURN VALUE
None. The pthread_testcancel() function does not return a value.
If the calling thread acts upon a cancellation request, this function will not return; the calling thread will be
terminated.
ERRORS
None.
AUTHOR
pthread_testcancel()
was derived from the IEEE POSIX P1003.1c standard.
SEE ALSO
pthread_exit(3T), pthread_join(3T), pthread_setcancelstate(3T), pthread_setcanceltype(3T),
pthread_cleanup_push(3T), pthread_cleanup_pop(3T), pthread_cond_wait(3T),
pthread_cond_timedwait(3T).
STANDARDS CONFORMANCE
pthread_testcancel()
: POSIX 1003.1c.
Section 3−−726 − 1 − HP-UX Release 11i: December 2000
___
___