atomicbox_nostd 0.3.1

Fork of the atomicbox library that works in no_std contexts
Documentation
  • Coverage
  • 100%
    3 out of 3 items documented0 out of 0 items with examples
  • Size
  • Source code size: 34.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.49 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 8s Average build duration of successful builds.
  • all releases: 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • tomaka/atomicbox
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tomaka

AtomicBox - Safe atomic boxes for Rust.

The Rust standard library provides atomic booleans, integers, and pointers. AtomicPtr is safe for loading, storing, and so forth; but pointers are unsafe to use.

It turns out that a safe atomic Box type is possible. Unfortunately, the only operation it supports is swap. Still, this is sufficient for some lock-free data structures, so here it is!

License

AtomicBox is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT, and COPYRIGHT for details.