1
Fork 0

core: Move atomic into a new sync module

This mirrors the same hierarchy in the standard library.
This commit is contained in:
Alex Crichton 2015-08-17 13:56:55 -07:00
parent 8cb4d8671a
commit 0c849de1a2
5 changed files with 19 additions and 4 deletions

View file

@ -71,8 +71,8 @@
use boxed::Box;
use core::atomic;
use core::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
use core::sync::atomic;
use core::sync::atomic::Ordering::{Relaxed, Release, Acquire, SeqCst};
use core::fmt;
use core::cmp::Ordering;
use core::mem::{align_of_val, size_of_val};