diff --git a/src/std/sync/mod.rs b/src/std/sync/mod.rs index 423a2a3..890700f 100644 --- a/src/std/sync/mod.rs +++ b/src/std/sync/mod.rs @@ -10,7 +10,7 @@ mod sync_flag; mod wait_group; mod sync_map; mod once; -mod sync_vec; +mod sync_queue; mod sync_slice; pub(crate) mod atomic_dur; @@ -30,5 +30,5 @@ pub use self::wait_group::*; pub use self::sync_map::*; pub use self::once::*; pub use self::channel::*; -pub use self::sync_vec::*; +pub use self::sync_queue::*; pub use self::sync_slice::*; \ No newline at end of file diff --git a/src/std/sync/sync_queue.rs b/src/std/sync/sync_queue.rs new file mode 100644 index 0000000..98efd5f --- /dev/null +++ b/src/std/sync/sync_queue.rs @@ -0,0 +1,2 @@ +/// a Sync Queue +pub type SyncQueue = crate::std::queue::seg_queue::SegQueue; \ No newline at end of file diff --git a/src/std/sync/sync_vec.rs b/src/std/sync/sync_vec.rs deleted file mode 100644 index 332a502..0000000 --- a/src/std/sync/sync_vec.rs +++ /dev/null @@ -1,2 +0,0 @@ -/// a sync vec array -pub type SyncVec = crate::std::queue::seg_queue::SegQueue; \ No newline at end of file