PS2SDK
PS2 Homebrew Libraries
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 183 of file thcommon.h.


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