5 releases
0.2.3 | Oct 17, 2024 |
---|---|
0.2.2 | Jul 11, 2024 |
0.2.1 |
|
0.1.5 | Dec 17, 2023 |
0.1.1 |
|
#957 in Concurrency
107,249 downloads per month
Used in 480 crates
(9 directly)
1MB
20K
SLoC
portable-atomic-util
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
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.