Choco OS  V.0.16.9.0
Join to the chocolate world
Thread_t Struct Reference

Data Fields

oC_Process_t Process
 !< Control value for checking if object is correct
 
oC_Thread_Priority_t Priority
 !< Process owner
 
const char * Name
 !< Priority of this thread
 
oC_UInt_t * RedZone
 !< Name of the thread
 
oC_UInt_t * RedZoneEnd
 !< Pointer to the red zone
 
void * RealStackStart
 !< Pointer to end of the RedZone (start of the real stack)
 
oC_SYS_LLD_Context_tContext
 !< Pointer to the real stack (real allocated memory)
 
void * StackStart
 !< Machine context (stack)
 
oC_Int_t RealStackSize
 !< Pointer to the normal stack (not red zone)
 
uint32_t * BlockedFlag
 !< Size of the stack with red zone
 
uint32_t StateToUnblock
 !< Reference to the flag of the blocked context
 
uint32_t UnblockMask
 !< State to unblock thread
 
oC_Thread_Unblock_t Unblock
 !< Mask with bits important for unblocking
 
oC_Timestamp_t TimeoutTimestamp
 !< Type of operation to unblock thread
 
oC_Time_t ExecutionTime
 !< Timeout for the blocked state
 
uint32_t LastExecutionTick
 !< Time of execution of this thread
 
oC_Int_t StackSize
 !< Tick of last execution
 
oC_Thread_Function_t Function
 !< Size of the stack
 
void * Parameter
 !< Main function to execute
 
FinishedFunction_t FinishedFunction
 !< Parameter to main function
 
void * FinishedParameter
 !< Function to call after thread finish
 
RevertAction_t ActionsToRevert [CFG_UINT8_MAX_ACTIONS_TO_REVERT]
 !< Parameter to give to the thread finish More...
 

Detailed Description

Thread object structure

Definition at line 60 of file oc_thread.c.

Field Documentation

RevertAction_t ActionsToRevert[CFG_UINT8_MAX_ACTIONS_TO_REVERT]

Array with actions to revert

Definition at line 84 of file oc_thread.c.


The documentation for this struct was generated from the following file: