diff --git a/src/std/sync/mod.rs b/src/std/sync/mod.rs index 573fc54..423a2a3 100644 --- a/src/std/sync/mod.rs +++ b/src/std/sync/mod.rs @@ -10,6 +10,8 @@ mod sync_flag; mod wait_group; mod sync_map; mod once; +mod sync_vec; +mod sync_slice; pub(crate) mod atomic_dur; #[cfg(not(unix))] @@ -28,3 +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_slice::*; \ No newline at end of file diff --git a/src/std/sync/sync_slice.rs b/src/std/sync/sync_slice.rs new file mode 100644 index 0000000..2ea5b34 --- /dev/null +++ b/src/std/sync/sync_slice.rs @@ -0,0 +1,2 @@ +/// a sync slice array +pub type SyncSlice = crate::std::queue::array_queue::ArrayQueue; \ No newline at end of file diff --git a/src/std/sync/sync_vec.rs b/src/std/sync/sync_vec.rs new file mode 100644 index 0000000..332a502 --- /dev/null +++ b/src/std/sync/sync_vec.rs @@ -0,0 +1,2 @@ +/// a sync vec array +pub type SyncVec = crate::std::queue::seg_queue::SegQueue; \ No newline at end of file