Skip to content

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.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

mehcode/atomic-array-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

atomic-array

Rust Crates.io Docs.rs

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 to AtomicReferenceArray.
  • AtomicRefArrayAtomicOptionRefArray with enforced default values to remove the optional property of the elements.
  • AtomicBoolArray
  • AtomicUsizeArray, AtomicIsizeArray
  • AtomicI8 ... AtomicI64Array (requires a nightly compiler and integer_atomics feature)
  • AtomicU8 ... AtomicU64Array (requires a nightly compiler and integer_atomics feature)

Usage

[dependencies]
atomic-array = "0.3"

License

Licensed under either of

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.

About

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.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages