RTEMS
userext.h
Go to the documentation of this file.
1 
9 /*
10  * COPYRIGHT (c) 1989-2009.
11  * On-Line Applications Research Corporation (OAR).
12  *
13  * The license and distribution terms for this file may be
14  * found in the file LICENSE in this distribution or at
15  * http://www.rtems.org/license/LICENSE.
16  */
17 
18 #ifndef _RTEMS_SCORE_USEREXT_H
19 #define _RTEMS_SCORE_USEREXT_H
20 
21 #include <rtems/score/interr.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 struct _Thread_Control;
28 
70  struct _Thread_Control *executing,
71  struct _Thread_Control *created
72 );
73 
90  struct _Thread_Control *executing,
91  struct _Thread_Control *deleted
92 );
93 
110  struct _Thread_Control *executing,
111  struct _Thread_Control *started
112 );
113 
132  struct _Thread_Control *executing,
133  struct _Thread_Control *restarted
134 );
135 
155  struct _Thread_Control *executing,
156  struct _Thread_Control *heir
157 );
158 
170  struct _Thread_Control *executing
171 );
172 
184  struct _Thread_Control *executing
185 );
186 
202  Internal_errors_Source source,
203  bool always_set_to_false,
204  Internal_errors_t code
205 );
206 
224  struct _Thread_Control *terminated
225 );
226 
230 typedef struct {
241 
244 #ifdef __cplusplus
245 }
246 #endif
247 
248 #endif
249 /* end of include file */
Constants and Prototypes Related to the Internal Error Handler.
void(* User_extensions_thread_delete_extension)(struct _Thread_Control *executing, struct _Thread_Control *deleted)
Task delete extension.
Definition: userext.h:89
void(* User_extensions_thread_begin_extension)(struct _Thread_Control *executing)
Task begin extension.
Definition: userext.h:169
bool(* User_extensions_thread_create_extension)(struct _Thread_Control *executing, struct _Thread_Control *created)
Task create extension.
Definition: userext.h:69
void(* User_extensions_thread_restart_extension)(struct _Thread_Control *executing, struct _Thread_Control *restarted)
Task restart extension.
Definition: userext.h:131
void(* User_extensions_thread_switch_extension)(struct _Thread_Control *executing, struct _Thread_Control *heir)
Task switch extension.
Definition: userext.h:154
Internal_errors_Source
This type lists the possible sources from which an error can be reported.
Definition: interr.h:47
void(* User_extensions_fatal_extension)(Internal_errors_Source source, bool always_set_to_false, Internal_errors_t code)
Fatal error extension.
Definition: userext.h:201
void(* User_extensions_thread_start_extension)(struct _Thread_Control *executing, struct _Thread_Control *started)
Task start extension.
Definition: userext.h:109
void(* User_extensions_thread_terminate_extension)(struct _Thread_Control *terminated)
Task termination extension.
Definition: userext.h:223
User extension table.
Definition: userext.h:230
void(* User_extensions_thread_exitted_extension)(struct _Thread_Control *executing)
Task exitted extension.
Definition: userext.h:183