#[repr(C)]pub struct k_sem {
pub wait_q: _wait_q_t,
pub count: c_uint,
pub limit: c_uint,
pub poll_events: sys_dlist_t,
}
Expand description
@cond INTERNAL_HIDDEN
Fields§
§wait_q: _wait_q_t
§count: c_uint
§limit: c_uint
§poll_events: sys_dlist_t
Auto Trait Implementations§
impl Freeze for k_sem
impl RefUnwindSafe for k_sem
impl !Send for k_sem
impl !Sync for k_sem
impl Unpin for k_sem
impl UnwindSafe for k_sem
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more