*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> pthread_testcancel (3)              



NAME    [Toc]    [Back]

       pthread_testcancel  -  Requests delivery of a pending cancellation
 request to the calling thread

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

       void pthread_testcancel(
               void );

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       IEEE  Std  1003.1c-1995,  POSIX System Application Program

PARAMETERS    [Toc]    [Back]


DESCRIPTION    [Toc]    [Back]

       This routine requests delivery of a  pending  cancellation
       request  to the calling thread. Thus, calling this routine
       creates a cancellation point within the calling thread.

       The cancellation request is delivered only if a request is
       pending  for  the  calling thread and the calling thread's
       cancelability state is enabled.  (A thread disables delivery
   of   cancellation  requests  to  itself  by  calling

       When called within very long loops, this  routine  ensures
       that  a  pending  cancellation  request  is noticed by the
       calling thread within a reasonable amount of time.

RETURN VALUES    [Toc]    [Back]


SEE ALSO    [Toc]    [Back]

       Functions: pthread_setcancelstate(3)

       Manuals: Guide to DECthreads and Programmer's Guide

[ Back ]
 Similar pages
Name OS Title
tis_testcancel Tru64 Creates a cancellation point in the calling thread
pthread_cancel IRIX request cancellation of a thread
aio_req_per_thread HP-UX desirable ratio between number of pending AIO requests and servicing threads
aio_cancel Tru64 Cancels one or more asynchronous I/O requests pending against the specified file descriptor (P1003.1...
unbufcall Tru64 STREAMS: Cancels a pending bufcall request
pthread_join Tru64 Causes the calling thread to wait for the termination of the specified thread
pthread_cancel Tru64 Allows a thread to request a thread to terminate execution
sigpending IRIX return set of signals pending for thread (POSIX)
pthread_exit Tru64 Terminates the calling thread
pthread_exit OpenBSD terminate the calling thread
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service