score: Add capture data to tcb.

This commit is contained in:
Jennifer Averett
2014-10-27 13:24:27 -05:00
parent 42c77e9982
commit 134a1811c1
2 changed files with 10 additions and 0 deletions
@@ -533,6 +533,11 @@ typedef struct {
#endif
} Thread_Scheduler_control;
typedef struct {
uint32_t flags;
void * control;
}Thread_Capture_control;
/**
* This structure defines the Thread Control Block (TCB).
*/
@@ -645,6 +650,8 @@ struct Thread_Control_struct {
*/
Thread_Life_control Life;
Thread_Capture_control Capture;
/**
* @brief Variable length array of user extension pointers.
*
+3
View File
@@ -228,6 +228,9 @@ bool _Thread_Initialize(
the_thread->Life.state = THREAD_LIFE_NORMAL;
the_thread->Life.terminator = NULL;
the_thread->Capture.flags = 0;
the_thread->Capture.control = NULL;
/*
* Open the object
*/