about summary refs log tree commit diff
path: root/src/libsync/task_pool.rs
AgeCommit message (Collapse)AuthorLines
2014-06-11sync: Move underneath libstdAlex Crichton-93/+0
This commit is the final step in the libstd facade, #13851. The purpose of this commit is to move libsync underneath the standard library, behind the facade. This will allow core primitives like channels, queues, and atomics to all live in the same location. There were a few notable changes and a few breaking changes as part of this movement: * The `Vec` and `String` types are reexported at the top level of libcollections * The `unreachable!()` macro was copied to libcore * The `std::rt::thread` module was moved to librustrt, but it is still reexported at the same location. * The `std::comm` module was moved to libsync * The `sync::comm` module was moved under `sync::comm`, and renamed to `duplex`. It is now a private module with types/functions being reexported under `sync::comm`. This is a breaking change for any existing users of duplex streams. * All concurrent queues/deques were moved directly under libsync. They are also all marked with #![experimental] for now if they are public. * The `task_pool` and `future` modules no longer live in libsync, but rather live under `std::sync`. They will forever live at this location, but they may move to libsync if the `std::task` module moves as well. [breaking-change]
2014-04-08Register new snapshotsAlex Crichton-5/+5
2014-03-31sync: Switch field privacy as necessaryAlex Crichton-2/+2
2014-03-28Convert most code to new inner attribute syntax.Brian Anderson-1/+1
Closes #2569
2014-03-27Fix fallout of removing default boundsAlex Crichton-6/+6
This is all purely fallout of getting the previous commit to compile.
2014-03-21test: Make manual changes to deal with the fallout from removal ofPatrick Walton-5/+7
`~[T]` in test, libgetopts, compiletest, librustdoc, and libnum.
2014-03-20rename std::vec -> std::sliceDaniel Micay-3/+2
Closes #12702
2014-03-13std: Rename Chan/Port types and constructorAlex Crichton-4/+4
* Chan<T> => Sender<T> * Port<T> => Receiver<T> * Chan::new() => channel() * constructor returns (Sender, Receiver) instead of (Receiver, Sender) * local variables named `port` renamed to `rx` * local variables named `chan` renamed to `tx` Closes #11765
2014-02-05move concurrent stuff from libextra to libsyncJeremyLetang-0/+92