Struct freertos_rs::Semaphore [] [src]

pub struct Semaphore { /* fields omitted */ }

A counting or binary semaphore

Methods

impl Semaphore
[src]

[src]

Create a new binary semaphore

[src]

Create a new counting semaphore

[src]

Lock this semaphore in a RAII fashion

Trait Implementations

impl Send for Semaphore
[src]

impl Sync for Semaphore
[src]

impl Drop for Semaphore
[src]

[src]

Executes the destructor for this type. Read more