Crate portable_atomic_util
source ·Expand description
Synchronization primitives built with portable-atomic.
- Provide
Arc. (optional, requires thestdorallocfeature) - Provide
task::Wake. (optional, requires thestdorallocfeature)
See #1 for other primitives being considered for addition to this crate.
§Optional features
-
std
Usestd.Note:
- This implicitly enables the
allocfeature.
- This implicitly enables the
-
alloc
Usealloc.Note:
- The MSRV when this feature is enabled and the
stdfeature is not enabled is Rust 1.36 thatalloccrate stabilized.
- The MSRV when this feature is enabled and the
Modules§
- task
allocorstdTypes and Traits for working with asynchronous tasks.