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