Skip to main content

SceKernelThreadKInfo

Struct SceKernelThreadKInfo 

Source
#[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: SceSize

Size of the structure

§name: [c_char; 32]

Nul terminated name of the thread

§attr: SceUInt

Thread attributes

§status: c_int

Thread status

§entry: SceKernelThreadEntry

Thread entry point

§stack: *mut c_void

Thread stack pointer

§stackSize: c_int

Thread stack size

§kstack: *mut c_void

Kernel stack pointer

§kstackSize: *mut c_void

Kernel stack size

§gpReg: *mut c_void

Pointer to the gp

§args: SceSize

Size of args

§argp: *mut c_void

Pointer to args

§initPriority: c_int

Initial priority

§currentPriority: c_int

Current priority

§waitType: c_int

Wait type

§waitId: SceUID

Wait id

§wakeupCount: c_int

Wakeup count

§runClocks: SceKernelSysClock

Number of clock cycles run

§intrPreemptCount: SceUInt

Interrupt preemption count

§threadPreemptCount: SceUInt

Thread preemption count

§releaseCount: SceUInt

Release count

§thContext: *mut SceThreadContext

Thread Context

§vfpuContext: *mut f32

VFPU Context

§retAddr: *mut c_void

Return address from syscall

§unknown1: SceUInt

Unknown, possibly size of SC context

§scContext: *mut SceSCContext

Syscall Context

Trait Implementations§

Source§

impl Clone for SceKernelThreadKInfo

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SceKernelThreadKInfo

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for SceKernelThreadKInfo

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.