k_spinlock_key_t

Type Alias k_spinlock_key_t 

Source
pub type k_spinlock_key_t = z_spinlock_key;
Expand description

@brief Spinlock key type

This type defines a “key” value used by a spinlock implementation to store the system interrupt state at the time of a call to k_spin_lock(). It is expected to be passed to a matching k_spin_unlock().

This type is opaque and should not be inspected by application code.

Aliased Type§

#[repr(C)]
pub struct k_spinlock_key_t { pub key: i32, }

Fields§

§key: i32