EVE 1.0
thread_t Struct Reference

#include <thread.h>

Collaboration diagram for thread_t:

Data Fields

struct dlist_t Link
 
uint32_t * Mark
 
uint32_t * Sp
 
uint32_t Stack
 
uint32_t StackSize
 
uint32_t StackReserved
 
const struct stack_pool_tPool
 
uint32_t CpuState [THREAD_CPU_STATE_REGISTER_COUNT]
 
uint32_t BackjumpState [THREAD_CPU_REGISTERS_COUNT]
 

Detailed Description

Thread state (dynanic)

Definition at line 108 of file thread.h.

Field Documentation

struct dlist_t thread_t::Link

Linked list entry

Definition at line 110 of file thread.h.

uint32_t* thread_t::Mark

Base stack pointer for the thread

Definition at line 111 of file thread.h.

uint32_t* thread_t::Sp

Stack pointer at ThreadBegin() entry

Definition at line 112 of file thread.h.

uint32_t thread_t::Stack

Offset in the stack pool to the allocated stack snapshot

Definition at line 113 of file thread.h.

uint32_t thread_t::StackSize

Amount of bytes used for the thread in the stack pool

Definition at line 114 of file thread.h.

uint32_t thread_t::StackReserved

Amount of bytes allocated for the thread in the stack pool

Definition at line 115 of file thread.h.

const struct stack_pool_t* thread_t::Pool

Pointer to the thread's stack pool

Definition at line 116 of file thread.h.

uint32_t thread_t::CpuState[THREAD_CPU_STATE_REGISTER_COUNT]

CPU state at ThreadYield() entry

Definition at line 117 of file thread.h.

uint32_t thread_t::BackjumpState[THREAD_CPU_REGISTERS_COUNT]

CPU state at ThreadBegin() entry

Definition at line 118 of file thread.h.