Manual Page Result
0
Command: tis_testcancel | Section: 3 | Source: Digital UNIX | File: tis_testcancel.3.gz
tis_testcancel(3) Library Functions Manual tis_testcancel(3)
NAME
tis_testcancel - Creates a cancelation point in the calling thread.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
void tis_testcancel(void);
STANDARDS
None
PARAMETERS
None
DESCRIPTION
This routine requests delivery of a pending cancelation request to the
calling thread. Thus, this routine creates a cancelation point in the
calling thread. The cancelation request is delivered only if a request
is pending for the calling thread and the calling thread's cancelabil-
ity state is enabled. (A thread disables delivery of cancelation re-
quests to itself by calling tis_setcancelstate(3).)
This routine, when called within very long loops, ensures that a pend-
ing cancelation request is noticed within a reasonable amount of time.
RETURN VALUES
None
RELATED INFORMATION
Functions: tis_setcancelstate(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
tis_testcancel(3)