[][src]Struct nc::types::getcpu_cache_t

#[repr(C)]
pub struct getcpu_cache_t {
    pub blob: [usize; 32],
}

Cache for getcpu() to speed it up. Results might be a short time out of date, but will be faster.

User programs should not refer to the contents of this structure. I repeat they should not refer to it. If they do they will break in future kernels. It is only a private cache for vgetcpu(). It will change in future kernels. The user program must store this information per thread (__thread) If you want 100% accurate information pass NULL instead.

Fields

blob: [usize; 32]

Auto Trait Implementations

Blanket Implementations

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> Into<U> for T where
    U: From<T>, 
[src]

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

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.

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

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

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