core: Move atomic
into a new sync
module
This mirrors the same hierarchy in the standard library.
This commit is contained in:
parent
8cb4d8671a
commit
0c849de1a2
5 changed files with 19 additions and 4 deletions
|
@ -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};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue