thread

thread represents a single thread in a process. This struct mostly the same as FreeBSD version with some PS4 specific.

9.0TypeNameDescription
0x008proc *td_procThe process of this thread.
0x088i32td_tidThread ID.
0x090sigqueuetd_sigqueuePending signals.
0x0D4i32td_flags
0x0D8i32td_inhibitors
0x0DCi32td_pflags
0x0E8void *td_wchan
0x130ucred *td_ucred
0x220u32td_pticks
0x270i32td_xsig
0x284char[32]td_name
0x2A8file *td_fpop
0x2B0i32td_dbgflags
0x388pcb *td_pcb
0x390i32td_state
0x398i64[2]td_retvalrax and rdx to return from current syscall.
0x3A8callouttd_slpcallout
0x3E0trapframe *td_frameUser space CPU states.
0x438i32td_errno