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

Data Fields

struct threadcurrent_thread
 
struct threadrun_next
 
u32 queue_map [4]
 
u32 debug_flags
 
struct list_head ready_queue [128]
 
s32 timer_id
 
u32(* timer_func )()
 
u32 time_hi
 
u32 time_lo
 
u32 last_timer
 
struct list_head thread_list
 
struct threadidle_thread
 
struct list_head semaphore
 
struct list_head event_flag
 
struct list_head mbox
 
struct list_head vpool
 
struct list_head fpool
 
struct list_head alarm
 
struct list_head alarm_pool
 
u16 thread_id
 
u16 sema_id
 
u16 evflag_id
 
u16 mbox_id
 
u32 unused_or_padding
 
u32 alarm_id
 
u32 alarm_count
 
struct list_head sleep_queue
 
struct list_head delay_queue
 
struct list_head dormant_queue
 
struct list_head delete_queue
 
void * heap
 
s32 sytem_status_flag
 
u32 thread_switch_count
 
u32 thread_resume_count
 
u32 min_wait
 
u32 unk4c8
 
u32 unk_clock_mult
 
u32 unk_clock_div
 

Detailed Description

Definition at line 180 of file thcommon.h.

Field Documentation

◆ current_thread

struct thread* thread_context::current_thread

Definition at line 182 of file thcommon.h.

◆ run_next

struct thread* thread_context::run_next

Definition at line 183 of file thcommon.h.

◆ queue_map

u32 thread_context::queue_map[4]

Definition at line 184 of file thcommon.h.

◆ debug_flags

u32 thread_context::debug_flags

Definition at line 185 of file thcommon.h.

◆ ready_queue

struct list_head thread_context::ready_queue[128]

Definition at line 186 of file thcommon.h.

◆ timer_id

s32 thread_context::timer_id

Definition at line 187 of file thcommon.h.

◆ timer_func

u32(* thread_context::timer_func) ()

Definition at line 188 of file thcommon.h.

◆ time_hi

u32 thread_context::time_hi

Definition at line 189 of file thcommon.h.

◆ time_lo

u32 thread_context::time_lo

Definition at line 190 of file thcommon.h.

◆ last_timer

u32 thread_context::last_timer

Definition at line 191 of file thcommon.h.

◆ thread_list

struct list_head thread_context::thread_list

Definition at line 194 of file thcommon.h.

◆ idle_thread

struct thread* thread_context::idle_thread

Definition at line 195 of file thcommon.h.

◆ semaphore

struct list_head thread_context::semaphore

Definition at line 196 of file thcommon.h.

◆ event_flag

struct list_head thread_context::event_flag

Definition at line 197 of file thcommon.h.

◆ mbox

struct list_head thread_context::mbox

Definition at line 198 of file thcommon.h.

◆ vpool

struct list_head thread_context::vpool

Definition at line 199 of file thcommon.h.

◆ fpool

struct list_head thread_context::fpool

Definition at line 200 of file thcommon.h.

◆ alarm

struct list_head thread_context::alarm

Definition at line 201 of file thcommon.h.

◆ alarm_pool

struct list_head thread_context::alarm_pool

Definition at line 202 of file thcommon.h.

◆ thread_id

u16 thread_context::thread_id

Definition at line 203 of file thcommon.h.

◆ sema_id

u16 thread_context::sema_id

Definition at line 204 of file thcommon.h.

◆ evflag_id

u16 thread_context::evflag_id

Definition at line 205 of file thcommon.h.

◆ mbox_id

u16 thread_context::mbox_id

Definition at line 206 of file thcommon.h.

◆ unused_or_padding

u32 thread_context::unused_or_padding

Definition at line 207 of file thcommon.h.

◆ alarm_id

u32 thread_context::alarm_id

Definition at line 208 of file thcommon.h.

◆ alarm_count

u32 thread_context::alarm_count

Definition at line 209 of file thcommon.h.

◆ sleep_queue

struct list_head thread_context::sleep_queue

Definition at line 210 of file thcommon.h.

◆ delay_queue

struct list_head thread_context::delay_queue

Definition at line 211 of file thcommon.h.

◆ dormant_queue

struct list_head thread_context::dormant_queue

Definition at line 212 of file thcommon.h.

◆ delete_queue

struct list_head thread_context::delete_queue

Definition at line 215 of file thcommon.h.

◆ heap

void* thread_context::heap

Definition at line 216 of file thcommon.h.

◆ sytem_status_flag

s32 thread_context::sytem_status_flag

Definition at line 217 of file thcommon.h.

◆ thread_switch_count

u32 thread_context::thread_switch_count

Definition at line 218 of file thcommon.h.

◆ thread_resume_count

u32 thread_context::thread_resume_count

Definition at line 219 of file thcommon.h.

◆ min_wait

u32 thread_context::min_wait

Definition at line 220 of file thcommon.h.

◆ unk4c8

u32 thread_context::unk4c8

Definition at line 221 of file thcommon.h.

◆ unk_clock_mult

u32 thread_context::unk_clock_mult

Definition at line 222 of file thcommon.h.

◆ unk_clock_div

u32 thread_context::unk_clock_div

Definition at line 223 of file thcommon.h.


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