std: Introduce std::sync

For now, this moves the following modules to std::sync

* UnsafeArc (also removed unwrap method)
* mpsc_queue
* spsc_queue
* atomics
* mpmc_bounded_queue
* deque

We may want to remove some of the queues, but for now this moves things out of
std::rt into std::sync
This commit is contained in:
Alex Crichton
2013-12-12 17:27:37 -08:00
parent dafb310ba1
commit a55c57284d
15 changed files with 288 additions and 578 deletions

View File

@@ -159,6 +159,7 @@ pub mod trie;
pub mod task;
pub mod comm;
pub mod local_data;
pub mod sync;
/* Runtime and platform support */