Struct freertos_rs::Semaphore [] [src]

pub struct Semaphore { /* fields omitted */ }

A counting or binary semaphore


impl Semaphore

Create a new binary semaphore

Create a new counting semaphore

Lock this semaphore

Trait Implementations

impl Send for Semaphore

impl Sync for Semaphore

impl Drop for Semaphore

A method called when the value goes out of scope. Read more