forked from Imagelibrary/rtems
@@ -20,12 +20,13 @@
|
||||
|
||||
#include <rtems/score/interr.h>
|
||||
#include <rtems/score/chain.h>
|
||||
#include <rtems/score/thread.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct _Thread_Control;
|
||||
|
||||
typedef void User_extensions_routine RTEMS_DEPRECATED;
|
||||
|
||||
/**
|
||||
@@ -69,8 +70,8 @@ typedef void User_extensions_routine RTEMS_DEPRECATED;
|
||||
* return @a false and the entire thread create operation will fail.
|
||||
*/
|
||||
typedef bool ( *User_extensions_thread_create_extension )(
|
||||
Thread_Control *executing,
|
||||
Thread_Control *created
|
||||
struct _Thread_Control *executing,
|
||||
struct _Thread_Control *created
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -89,8 +90,8 @@ typedef bool ( *User_extensions_thread_create_extension )(
|
||||
* @param[in] deleted The deleted thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_delete_extension )(
|
||||
Thread_Control *executing,
|
||||
Thread_Control *deleted
|
||||
struct _Thread_Control *executing,
|
||||
struct _Thread_Control *deleted
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -109,8 +110,8 @@ typedef void( *User_extensions_thread_delete_extension )(
|
||||
* @param[in] started The started thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_start_extension )(
|
||||
Thread_Control *executing,
|
||||
Thread_Control *started
|
||||
struct _Thread_Control *executing,
|
||||
struct _Thread_Control *started
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -131,8 +132,8 @@ typedef void( *User_extensions_thread_start_extension )(
|
||||
* @param[in] restarted The executing thread. Yes, the executing thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_restart_extension )(
|
||||
Thread_Control *executing,
|
||||
Thread_Control *restarted
|
||||
struct _Thread_Control *executing,
|
||||
struct _Thread_Control *restarted
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -154,8 +155,8 @@ typedef void( *User_extensions_thread_restart_extension )(
|
||||
* @param[in] heir The heir thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_switch_extension )(
|
||||
Thread_Control *executing,
|
||||
Thread_Control *heir
|
||||
struct _Thread_Control *executing,
|
||||
struct _Thread_Control *heir
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -169,7 +170,7 @@ typedef void( *User_extensions_thread_switch_extension )(
|
||||
* @param[in] executing The executing thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_begin_extension )(
|
||||
Thread_Control *executing
|
||||
struct _Thread_Control *executing
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -183,7 +184,7 @@ typedef void( *User_extensions_thread_begin_extension )(
|
||||
* @param[in] executing The executing thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_exitted_extension )(
|
||||
Thread_Control *executing
|
||||
struct _Thread_Control *executing
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -223,7 +224,7 @@ typedef void( *User_extensions_fatal_extension )(
|
||||
* @param[in] terminated The terminated thread.
|
||||
*/
|
||||
typedef void( *User_extensions_thread_terminate_extension )(
|
||||
Thread_Control *terminated
|
||||
struct _Thread_Control *terminated
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
#define _RTEMS_SCORE_USEREXTIMPL_H
|
||||
|
||||
#include <rtems/score/userext.h>
|
||||
#include <rtems/score/isrlock.h>
|
||||
#include <rtems/score/chainimpl.h>
|
||||
#include <rtems/score/isrlock.h>
|
||||
#include <rtems/score/thread.h>
|
||||
#include <rtems/score/percpu.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user