RTEMS  5.0.0
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 
29 typedef void User_extensions_routine RTEMS_DEPRECATED;
30 
72  struct _Thread_Control *executing,
73  struct _Thread_Control *created
74 );
75 
92  struct _Thread_Control *executing,
93  struct _Thread_Control *deleted
94 );
95 
112  struct _Thread_Control *executing,
113  struct _Thread_Control *started
114 );
115 
134  struct _Thread_Control *executing,
135  struct _Thread_Control *restarted
136 );
137 
157  struct _Thread_Control *executing,
158  struct _Thread_Control *heir
159 );
160 
172  struct _Thread_Control *executing
173 );
174 
186  struct _Thread_Control *executing
187 );
188 
204  Internal_errors_Source source,
205  bool always_set_to_false,
206  Internal_errors_t code
207 );
208 
226  struct _Thread_Control *terminated
227 );
228 
232 typedef struct {
243 
246 #ifdef __cplusplus
247 }
248 #endif
249 
250 #endif
251 /* end of include file */
Constants and Prototypes Related to the Internal Error Handler.
void(* User_extensions_thread_begin_extension)(struct _Thread_Control *executing)
Task begin extension.
Definition: userext.h:171
bool(* User_extensions_thread_create_extension)(struct _Thread_Control *executing, struct _Thread_Control *created)
Task create extension.
Definition: userext.h:71
void(* User_extensions_thread_start_extension)(struct _Thread_Control *executing, struct _Thread_Control *started)
Task start extension.
Definition: userext.h:111
Definition: thread.h:728
void(* User_extensions_thread_exitted_extension)(struct _Thread_Control *executing)
Task exitted extension.
Definition: userext.h:185
Definition: inftrees.h:24
void(* User_extensions_fatal_extension)(Internal_errors_Source source, bool always_set_to_false, Internal_errors_t code)
Fatal error extension.
Definition: userext.h:203
User extension table.
Definition: userext.h:232
void(* User_extensions_thread_restart_extension)(struct _Thread_Control *executing, struct _Thread_Control *restarted)
Task restart extension.
Definition: userext.h:133
void(* User_extensions_thread_delete_extension)(struct _Thread_Control *executing, struct _Thread_Control *deleted)
Task delete extension.
Definition: userext.h:91
void(* User_extensions_thread_switch_extension)(struct _Thread_Control *executing, struct _Thread_Control *heir)
Task switch extension.
Definition: userext.h:156
Internal_errors_Source
This type lists the possible sources from which an error can be reported.
Definition: interr.h:42
void(* User_extensions_thread_terminate_extension)(struct _Thread_Control *terminated)
Task termination extension.
Definition: userext.h:225