Skip to content

Commit

Permalink
add sync_slice and sync_array
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Feb 12, 2022
1 parent 2b0e756 commit d763096
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/std/sync/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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::*;
2 changes: 2 additions & 0 deletions src/std/sync/sync_queue.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/// a Sync Queue
pub type SyncQueue<T> = crate::std::queue::seg_queue::SegQueue<T>;
2 changes: 0 additions & 2 deletions src/std/sync/sync_vec.rs

This file was deleted.

0 comments on commit d763096

Please sign in to comment.