Module indigo::sync [−][src]
Synchronization primitives and concurrency utilties.
Modules
blocking | Blocking utilities and concurrency primitives. |
channel | A multi-producer, multi-consumer channel. |
request | Asynchronous request handling (also known as a “oneshot” channel). |
Macros
pin | Pins a variable of type |
request | Returns a future that awaits a request defined by the given “closure”. |
Structs
AtomicBool | An awaitable atomic |
AtomicI8 | An awaitable atomic |
AtomicI16 | An awaitable atomic |
AtomicI32 | An awaitable atomic |
AtomicI64 | An awaitable atomic |
AtomicIsize | An awaitable atomic |
AtomicU8 | An awaitable atomic |
AtomicU16 | An awaitable atomic |
AtomicU32 | An awaitable atomic |
AtomicU64 | An awaitable atomic |
AtomicUsize | An awaitable atomic |
ConcurrentHashMap | A concurrent hash map provided by the |
ConcurrentHashSet | A concurrent hash set provided by the |
Event | A synchronization primitive for notifying async tasks and threads. |
EventListener | A guard waiting for a notification from an |
Lazy | A value which is initialized on the first access. |
OnceCell | A thread-safe cell which can be written to only once. |
Request | An asynchronous request for a value of type |
Semaphore | A counting semaphore. |
Timer | A timer that expires after a duration of time. |