about summary refs log tree commit diff
path: root/src/libstd/rt/rc.rs
AgeCommit message (Collapse)AuthorLines
2013-12-24green: Rip the bandaid off, introduce libgreenAlex Crichton-139/+0
This extracts everything related to green scheduling from libstd and introduces a new libgreen crate. This mostly involves deleting most of std::rt and moving it to libgreen. Along with the movement of code, this commit rearchitects many functions in the scheduler in order to adapt to the fact that Local::take now *only* works on a Task, not a scheduler. This mostly just involved threading the current green task through in a few locations, but there were one or two spots where things got hairy. There are a few repercussions of this commit: * tube/rc have been removed (the runtime implementation of rc) * There is no longer a "single threaded" spawning mode for tasks. This is now encompassed by 1:1 scheduling + communication. Convenience methods have been introduced that are specific to libgreen to assist in the spawning of pools of schedulers.
2013-10-23Removed Unnecessary comments and white spaces #4386reedlepee-1/+0
2013-10-23Making fields in std and extra : private #4386reedlepee-1/+2
2013-09-17remove unnecessary transmutesDaniel Micay-6/+3
2013-09-16switch Drop to `&mut self`Daniel Micay-1/+1
2013-06-25Change finalize -> drop.Luqman Aden-1/+1
2013-06-10Tag a bunch of destructors that need mutable self with FIXME for #4330. ↵Ben Blum-1/+1
Close #4943.
2013-05-22libstd: Fix merge fallout.Patrick Walton-0/+142