Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pthread_testcancel(3) — HP-UX 10.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pthread_cancel(3)

pthread_setasynccancel(3)

pthread_setcancel(3)

pthread_testcancel(3)

NAME

pthread_testcancel - Requests delivery of a pending cancel to the current thread

SYNOPSIS

#include <pthread.h> void pthread_testcancel();

DESCRIPTION

The pthread_testcancel() routine requests delivery of a pending cancel to the current thread. The cancel is delivered only if a cancel is pending for the current thread and general cancel delivery is not currently disabled. (A thread disables delivery of cancels to itself by calling the pthread_setcancel() routine.) This routine, when called within very long loops, ensures that a pending cancel is noticed within a reasonable amount of time.

RETURN VALUES

No value is returned. 

RELATED INFORMATION

Functions:  pthread_cancel(3), pthread_setasynccancel(3), pthread_setcancel(3). 

Hewlett-Packard Company  —  OSF DCE 1.1/HP DCE 1.5

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026