This repository was archived by the owner on Nov 5, 2018. It is now read-only.
Commit 6756505
Stjepan Glavina
Add AtomicCell (#13)
* Add AtomicCell
* Remove as_ptr
* Add dependencies and fix module structure
* Add atomic/mod.rs
* Add a comment on spurious failures
* Clarify comments on uses of SeqCst
* Change compare_and_set to compare_exchange
* Rename methods and add compare_and_swap
* Remove AtomicCell::take
* More fetch_* methods
* Remove fetch_nand because Rust 1.25.0 doesn't have it1 parent 60eed74 commit 6756505
4 files changed
Lines changed: 1030 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
0 commit comments