Crate wasefire_sync
source ·Expand description
This crate provides different synchronization primitives.
Modules§
- Re-export of the
core::hint
module.
Macros§
- Returns whether this statement was already executed.
Structs§
- A boolean type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- A raw pointer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- An integer type which can be safely shared between threads.
- Non-blocking non-reentrant mutex.
- Convenient wrapper around
Mutex<Option<T>>
.
Enums§
- Atomic memory orderings
Functions§
- A compiler memory fence.
- An atomic fence.
Type Aliases§
- Locks a mutex and provides access to its content until dropped.