[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


tis_testcancel

Creates a cancellation point in the current thread.

Syntax

tis_testcancel();

C Binding

#include 

void tis_testcancel (void);

Arguments

None

Description

This routine creates a cancellation point in the calling thread. The cancel is delivered only if a cancel is pending for the current thread and the cancelability state is enabled. (A thread disables delivery of cancels to itself by calling tis_ setcancelstate.)

This routine, when called within very long loops, ensures that a pending cancel is noticed within a reasonable amount of time.

Return Values

None

Associated Routines

   tis_setcancelstate



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]