summaryrefslogblamecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/cancel.h
blob: f50b8c6f062d0cb250cf0413ad0295a8ecb1792b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

                       
        










                                 
  
                            


                

                                                                       

   
                              


                            

                         
/* rtems/posix/cancel.h
 *
 *  $Id$
 */

#ifndef __RTEMS_POSIX_CANCEL_h
#define __RTEMS_POSIX_CANCEL_h

typedef struct {
  Chain_Node  Node;
  void      (*routine)( void * );
  void       *arg;
}  POSIX_Cancel_Handler_control;

/*
 *  _POSIX_Thread_cancel_run
 *
 *  DESCRIPTION:
 *
 *  This support routine runs through the chain of cancel handlers that
 *  have been registered and executes them.
 */

void _POSIX_Thread_cancel_run(
  Thread_Control *the_thread
);

#endif
/* end of include file */