[][src]Struct pspsdk_sys::sdk::SceKernelThreadInfo

#[repr(C)]pub struct SceKernelThreadInfo {
    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,
}

Structure to hold the status information for a thread @see sceKernelReferThreadStatus

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

gpReg: *mut c_void

Pointer to the gp

initPriority: c_int

Initial priority

currentPriority: c_int

Current priority

waitType: c_int

Wait type

waitId: SceUID

Wait id

wakeupCount: c_int

Wakeup count

exitStatus: c_int

Exit status of the thread

runClocks: SceKernelSysClock

Number of clock cycles run

intrPreemptCount: SceUInt

Interrupt preemption count

threadPreemptCount: SceUInt

Thread preemption count

releaseCount: SceUInt

Release count

Trait Implementations

impl Clone for SceKernelThreadInfo[src]

impl Copy for SceKernelThreadInfo[src]

impl Debug for SceKernelThreadInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.