Skip to content

Commit

Permalink
Move AtomicCell into crossbeam-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Stjepan Glavina committed Dec 11, 2018
1 parent a3252af commit a8e38ed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
File renamed without changes.
2 changes: 2 additions & 0 deletions crossbeam-utils/src/atomic/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//! Additional utilities for atomics.
mod atomic_cell;
mod consume;

pub use self::atomic_cell::AtomicCell;
pub use self::consume::AtomicConsume;
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,13 @@ mod _epoch {
pub use _epoch::crossbeam_epoch as epoch;

mod arc_cell;
mod atomic_cell;

extern crate crossbeam_utils;

/// Additional utilities for atomics.
pub mod atomic {
pub use arc_cell::ArcCell;
pub use atomic_cell::AtomicCell;
pub use crossbeam_utils::atomic::AtomicCell;
pub use crossbeam_utils::atomic::AtomicConsume;
}

Expand Down

0 comments on commit a8e38ed

Please sign in to comment.