Struct freertos_rs::Semaphore [] [src]

pub struct Semaphore { /* fields omitted */ }

A counting or binary semaphore

Methods

impl Semaphore
[src]

Create a new binary semaphore

Create a new counting semaphore

Lock this semaphore

Trait Implementations

impl Send for Semaphore
[src]

impl Sync for Semaphore
[src]

impl Drop for Semaphore
[src]

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