atomicbox 0.3.0

Safe atomic pointers to boxed data.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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](LICENSE-APACHE) and [LICENSE-MIT](LICENSE-MIT), and
[COPYRIGHT](COPYRIGHT) for details.