RTEMS CPU Kit with SuperCore  4.11.3
cancel.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2009.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_POSIX_CANCEL_H
20 #define _RTEMS_POSIX_CANCEL_H
21 
22 #include <rtems/posix/threadsup.h>
23 
24 #ifndef HAVE_STRUCT__PTHREAD_CLEANUP_CONTEXT
25 
28 typedef struct {
32  void (*routine)( void * );
34  void *arg;
36 #endif /* HAVE_STRUCT__PTHREAD_CLEANUP_CONTEXT */
37 
48  Thread_Control *the_thread
49 );
50 
60  Thread_Control *the_thread
61 );
62 
63 #endif
64 /* end of include file */
This is used to manage each element (node) which is placed on a chain.
Definition: chain.h:65
void _POSIX_Threads_cancel_run(Thread_Control *the_thread)
POSIX run thread cancelation.
Definition: cancelrun.c:35
POSIX Thread API Support.
void _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(Thread_Control *the_thread)
POSIX evaluate thread cancelation and enable dispatch.
Definition: canceleval.c:27
Chain_Node Node
This field is the Chain Node so we can put these on lists.
Definition: cancel.h:30
This structure defines the Thread Control Block (TCB).
Definition: thread.h:671
void * arg
This field is the argument to the cancelation routine.
Definition: cancel.h:34
This structure is used to manage the cancelation handlers.
Definition: cancel.h:28