#[repr(C)]pub struct SceKernelThreadInfo {Show 18 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 gpReg: *mut c_void,
pub initPriority: c_int,
pub currentPriority: c_int,
pub waitType: c_int,
pub waitId: SceUID,
pub wakeupCount: c_int,
pub exitStatus: c_int,
pub runClocks: SceKernelSysClock,
pub intrPreemptCount: SceUInt,
pub threadPreemptCount: SceUInt,
pub releaseCount: SceUInt,
}Expand description
Structure to hold the status information for a thread @see sceKernelReferThreadStatus
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
gpReg: *mut c_voidPointer to the gp
initPriority: c_intInitial priority
currentPriority: c_intCurrent priority
waitType: c_intWait type
waitId: SceUIDWait id
wakeupCount: c_intWakeup count
exitStatus: c_intExit status of the thread
runClocks: SceKernelSysClockNumber of clock cycles run
intrPreemptCount: SceUIntInterrupt preemption count
threadPreemptCount: SceUIntThread preemption count
releaseCount: SceUIntRelease count
Trait Implementations§
Source§impl Clone for SceKernelThreadInfo
impl Clone for SceKernelThreadInfo
Source§impl Debug for SceKernelThreadInfo
impl Debug for SceKernelThreadInfo
impl Copy for SceKernelThreadInfo
Auto Trait Implementations§
impl Freeze for SceKernelThreadInfo
impl RefUnwindSafe for SceKernelThreadInfo
impl !Send for SceKernelThreadInfo
impl !Sync for SceKernelThreadInfo
impl Unpin for SceKernelThreadInfo
impl UnsafeUnpin for SceKernelThreadInfo
impl UnwindSafe for SceKernelThreadInfo
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