5 unstable releases
Uses old Rust 2015
0.3.1 | Jun 8, 2018 |
---|---|
0.3.0 | Jun 6, 2018 |
0.2.1 | Jun 5, 2018 |
0.2.0 | Jun 5, 2018 |
0.1.0 | Jun 1, 2018 |
#709 in Concurrency
22 downloads per month
Used in vampire_api
11KB
139 lines
atomic-array
Defines several array types in which elements may be updated atomically. Intended to provide atomic array types similar to those found in
java.util.concurrent.atomic
in Java.
Provides the following types:
AtomicOptionRefArray
– Corresponds toAtomicReferenceArray
.AtomicRefArray
–AtomicOptionRefArray
with enforced default values to remove the optional property of the elements.AtomicBoolArray
AtomicUsizeArray
,AtomicIsizeArray
AtomicI8
...AtomicI64Array
(requires anightly
compiler andinteger_atomics
feature)AtomicU8
...AtomicU64Array
(requires anightly
compiler andinteger_atomics
feature)
Usage
[dependencies]
atomic-array = "0.3"
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
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.
Dependencies
~13KB