Trait ipc_queue::Synchronizer [−][src]
pub trait Synchronizer: Clone {
fn wait(&self, event: QueueEvent) -> Result<(), SynchronizationError>;
fn notify(&self, event: QueueEvent);
}
Required methods
fn wait(&self, event: QueueEvent) -> Result<(), SynchronizationError>
fn wait(&self, event: QueueEvent) -> Result<(), SynchronizationError>
block execution until the specified event happens.
fn notify(&self, event: QueueEvent)
fn notify(&self, event: QueueEvent)
notify all waiters blocked on the specified event for the same Fifo.