#[repr(C)]pub struct SceKernelThreadKInfo {Show 26 fields
pub size: SceSize,
pub name: [c_char; 32],
pub attr: SceUInt,
pub status: c_int,
pub entry: SceKernelThreadEntry,
pub stack: *mut c_void,
pub stackSize: c_int,
pub kstack: *mut c_void,
pub kstackSize: *mut c_void,
pub gpReg: *mut c_void,
pub args: SceSize,
pub argp: *mut c_void,
pub initPriority: c_int,
pub currentPriority: c_int,
pub waitType: c_int,
pub waitId: SceUID,
pub wakeupCount: c_int,
pub runClocks: SceKernelSysClock,
pub intrPreemptCount: SceUInt,
pub threadPreemptCount: SceUInt,
pub releaseCount: SceUInt,
pub thContext: *mut SceThreadContext,
pub vfpuContext: *mut f32,
pub retAddr: *mut c_void,
pub unknown1: SceUInt,
pub scContext: *mut SceSCContext,
}Expand description
Structure to hold the status information for a thread (kernel form) 1.5 form
Fields§
§size: SceSizeSize of the structure
name: [c_char; 32]Nul terminated name of the thread
attr: SceUIntThread attributes
status: c_intThread status
entry: SceKernelThreadEntryThread entry point
stack: *mut c_voidThread stack pointer
stackSize: c_intThread stack size
kstack: *mut c_voidKernel stack pointer
kstackSize: *mut c_voidKernel stack size
gpReg: *mut c_voidPointer to the gp
args: SceSizeSize of args
argp: *mut c_voidPointer to args
initPriority: c_intInitial priority
currentPriority: c_intCurrent priority
waitType: c_intWait type
waitId: SceUIDWait id
wakeupCount: c_intWakeup count
runClocks: SceKernelSysClockNumber of clock cycles run
intrPreemptCount: SceUIntInterrupt preemption count
threadPreemptCount: SceUIntThread preemption count
releaseCount: SceUIntRelease count
thContext: *mut SceThreadContextThread Context
vfpuContext: *mut f32VFPU Context
retAddr: *mut c_voidReturn address from syscall
unknown1: SceUIntUnknown, possibly size of SC context
scContext: *mut SceSCContextSyscall Context
Trait Implementations§
Source§impl Clone for SceKernelThreadKInfo
impl Clone for SceKernelThreadKInfo
Source§impl Debug for SceKernelThreadKInfo
impl Debug for SceKernelThreadKInfo
impl Copy for SceKernelThreadKInfo
Auto Trait Implementations§
impl Freeze for SceKernelThreadKInfo
impl RefUnwindSafe for SceKernelThreadKInfo
impl !Send for SceKernelThreadKInfo
impl !Sync for SceKernelThreadKInfo
impl Unpin for SceKernelThreadKInfo
impl UnsafeUnpin for SceKernelThreadKInfo
impl UnwindSafe for SceKernelThreadKInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more