summaryrefslogblamecommitdiffstats
path: root/doc/posix1003.1/ch18.t
blob: f2a8c2a50650ee7daf8d7b60a5143959032910fc (plain) (tree)
1
2
3
4
5
6
7
8
9
  
                            






                                                    
 
                                     
 
                                
 
        



                                                  

            
                               
 
                                                
 
        
                                         

            
                               
 
                                      
 
                                           

        
                                       

            
                                       

        


                                               

            
                                              

        

                                             

            
                                                        
 
                                   
 
                                                
 
                                                  
 
                                         
 
                                       
 
@c
@c  COPYRIGHT (c) 1988-2002.
@c  On-Line Applications Research Corporation (OAR).
@c  All rights reserved.
@c
@c  $Id$
@c

@chapter Thread Cancellation

@section Thread Cancellation Overview

@subsection Cancelability States

@example
PTHREAD_CANCEL_DISABLE, Constant, Implemented
PTHREAD_CANCEL_ENABLE, Constant, Implemented
PTHREAD_CANCEL_ASYNCHRONOUS, Constant, Implemented
PTHREAD_CANCEL_DEFERRED, Constant, Implemented
@end example

@subsection Cancellation Points

@subsection Thread Cancellation Cleanup Handlers

@example
PTHREAD_CANCELED, Constant, Unimplemented
@end example

@subsection Async-Cancel Safety

@section Thread Cancellation Functions

@subsection Canceling Execution of a Thread

@example
pthread_cancel(), Function, Implemented
@end example

@subsection Setting Cancelability State

@example
pthread_setcancelstate(), Function, Implemented
pthread_setcanceltype(), Function, Implemented
pthread_testcancel(), Function, Implemented
@end example

@subsection Establishing Cancellation Handlers

@example
pthread_cleanup_push(), Function, Implemented
pthread_cleanup_pop(), Function, Implemented
@end example

@section Language-Independent Cancellation Functionality

@subsection Requesting Cancellation

@subsection Associating Cleanup Code With Scopes

@subsection Controlling Cancellation Within Scopes

@subsection Defined Cancellation Sequence

@subsection List of Cancellation Points