PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
thread Struct Reference
+ Collaboration diagram for thread:

Data Fields

struct heaptag tag
 
struct list_head queue
 
u8 status
 
u16 priority
 
struct regctxsaved_regs
 
u32 unk14
 
u32 unk18
 
u16 wait_type
 
u16 wakeup_count
 
union { 
 
struct eventwait_event
 
u32 wait_usecs
 
};  
 
struct list_head thread_list
 
u32 event_bits
 
u16 event_mode
 
u16 init_priority
 
u32 run_clocks_hi
 
u32 run_clocks_lo
 
void * entry
 
void * stack_top
 
u32 stack_size
 
u32 gp
 
u32 attr
 
u32 option
 
u32 * reason_counter
 
u32 irq_preemption_count
 
u32 thread_preemption_count
 
u32 release_count
 

Detailed Description

Definition at line 140 of file thcommon.h.

Field Documentation

◆ tag

struct heaptag thread::tag

Definition at line 142 of file thcommon.h.

◆ queue

struct list_head thread::queue

Definition at line 143 of file thcommon.h.

◆ status

u8 thread::status

Definition at line 144 of file thcommon.h.

◆ priority

u16 thread::priority

Definition at line 145 of file thcommon.h.

◆ saved_regs

struct regctx* thread::saved_regs

Definition at line 146 of file thcommon.h.

◆ unk14

u32 thread::unk14

Definition at line 147 of file thcommon.h.

◆ unk18

u32 thread::unk18

Definition at line 148 of file thcommon.h.

◆ wait_type

u16 thread::wait_type

Definition at line 149 of file thcommon.h.

◆ wakeup_count

u16 thread::wakeup_count

Definition at line 150 of file thcommon.h.

◆ [union]

union { ... } thread

◆ thread_list

struct list_head thread::thread_list

Definition at line 158 of file thcommon.h.

◆ event_bits

u32 thread::event_bits

Definition at line 159 of file thcommon.h.

◆ event_mode

u16 thread::event_mode

Definition at line 160 of file thcommon.h.

◆ init_priority

u16 thread::init_priority

Definition at line 161 of file thcommon.h.

◆ run_clocks_hi

u32 thread::run_clocks_hi

Definition at line 162 of file thcommon.h.

◆ run_clocks_lo

u32 thread::run_clocks_lo

Definition at line 163 of file thcommon.h.

◆ entry

void* thread::entry

Definition at line 164 of file thcommon.h.

◆ stack_top

void* thread::stack_top

Definition at line 165 of file thcommon.h.

◆ stack_size

u32 thread::stack_size

Definition at line 166 of file thcommon.h.

◆ gp

u32 thread::gp

Definition at line 167 of file thcommon.h.

◆ attr

u32 thread::attr

Definition at line 168 of file thcommon.h.

◆ option

u32 thread::option

Definition at line 169 of file thcommon.h.

◆ reason_counter

u32* thread::reason_counter

Definition at line 174 of file thcommon.h.

◆ irq_preemption_count

u32 thread::irq_preemption_count

Definition at line 175 of file thcommon.h.

◆ thread_preemption_count

u32 thread::thread_preemption_count

Definition at line 176 of file thcommon.h.

◆ release_count

u32 thread::release_count

Definition at line 177 of file thcommon.h.


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