[][src]Struct pspsdk_sys::sdk::SceKernelSemaInfo

#[repr(C)]pub struct SceKernelSemaInfo {
    pub size: SceSize,
    pub name: [c_char; 32],
    pub attr: SceUInt,
    pub initCount: c_int,
    pub currentCount: c_int,
    pub maxCount: c_int,
    pub numWaitThreads: c_int,
}

Current state of a semaphore. @see sceKernelReferSemaStatus.

Fields

size: SceSize

Size of the ::SceKernelSemaInfo structure.

name: [c_char; 32]

NUL-terminated name of the semaphore.

attr: SceUInt

Attributes.

initCount: c_int

The initial count the semaphore was created with.

currentCount: c_int

The current count.

maxCount: c_int

The maximum count.

numWaitThreads: c_int

The number of threads waiting on the semaphore.

Trait Implementations

impl Clone for SceKernelSemaInfo[src]

impl Copy for SceKernelSemaInfo[src]

impl Debug for SceKernelSemaInfo[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, 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.