Module mpmc

Module mpmc 

Source
Available on crate feature alloc only.
Expand description

Multiple producer - Multiple consumer flag

Structs§

AsyncFlagfutures
Async flag that will be completed when all references to Flag have been dropped or marked.
AsyncSubscribefutures
Subscriber of an AsyncFlag
Flag
A flag type that will be completed when all its references have been dropped or marked.
Subscribe
Subscriber of a Flag

Functions§

async_flagfutures
Creates a new pair of AsyncFlag and AsyncSubscribe
flag
Creates a new pair of Flag and Subscribe.