about summary refs log tree commit diff
path: root/src/libstd/rt/sched.rs
AgeCommit message (Expand)AuthorLines
2013-10-09option: rewrite the API to use compositionDaniel Micay-1/+1
2013-10-09std::rand: Minor clean-up of comments & add a missing default method.Huon Wilson-1/+0
2013-10-09Convert rt::sched::new_sched_rng to use open/read/close rather than f*.Huon Wilson-16/+10
2013-10-09std::rand: make the windows OSRng more correct, remove some C++.Huon Wilson-1/+2
2013-10-09std::rand: Add a trait for seeding RNGs: SeedableRng.Huon Wilson-2/+2
2013-10-09std::rand: Add OSRng, ReaderRng wrappers around the OS RNG & generic Readers ...Huon Wilson-1/+55
2013-10-07Fix existing privacy/visibility violationsAlex Crichton-0/+6
2013-09-30std: Remove usage of fmt!Alex Crichton-8/+8
2013-09-27Suppress warning by removing unused importFlavio Percoco-1/+0
2013-09-25std::rt: Implement task yielding. Fix a starvation problemBrian Anderson-28/+129
2013-09-22disable starvation test completely for nowDaniel Micay-13/+10
2013-09-22disable scheduler starvation test on valgrindDaniel Micay-9/+13
2013-09-23std: merge rand::{Rng,RngUtil} with default methods.Huon Wilson-2/+2
2013-09-19std::rt: Try stealing from all schedulersBrian Anderson-10/+27
2013-09-16switch Drop to `&mut self`Daniel Micay-3/+3
2013-09-09rename `std::iterator` to `std::iter`Daniel Micay-1/+1
2013-08-29Remove the iter module.Jason Fager-1/+1
2013-08-27librustc: Fix merge falloutPatrick Walton-2/+2
2013-08-27libstd: Fix merge fallout.Patrick Walton-1/+1
2013-08-27librustc: Stop calling `each_path` in coherence.Patrick Walton-1/+1
2013-08-27librustc: Ensure that type parameters are in the right positions in paths.Patrick Walton-9/+9
2013-08-27librustc: Remove `&const` and `*const` from the language.Patrick Walton-0/+1
2013-08-24std::rt: Remove metrics for perfBrian Anderson-5/+0
2013-08-24std::rt: Reduce MessageQueue contentionBrian Anderson-4/+27
2013-08-24std::rt: Reduce SleeperList contentionBrian Anderson-4/+1
2013-08-24std::rt: Optimize TLS use in change_task_contextBrian Anderson-1/+3
2013-08-23std: Convert some assert!s to rtassert!Brian Anderson-1/+1
2013-08-23std: Reduce TLS accessBrian Anderson-3/+2
2013-08-20auto merge of #8656 : toddaaro/rust/idle-opt+cleaning, r=brsonbors-13/+16
2013-08-20Fixed a memory leak caused by the singleton idle callback failing to close co...toddaaro-13/+16
2013-08-20auto merge of #8566 : toddaaro/rust/idle-opt+cleaning, r=catamorphism,brsonbors-287/+280
2013-08-19Try to fix mac valgrind bot by disabling thread-heavy activities.Graydon Hoare-0/+2
2013-08-19clean whitespace :/toddaaro-3/+3
2013-08-16A round of code cleaning for the primary scheduler code. Comments have been u...toddaaro-272/+199
2013-08-16Moved the logic for a pausible idle callback into a new type - PausibleIdleCa...toddaaro-73/+23
2013-08-16std::rt: Fix a race in UvRemoteCallback's dtor that misses callbacksBrian Anderson-0/+46
2013-08-16std::rt: Touch up idle logicBrian Anderson-16/+36
2013-08-16an attempt at a singleton pausible idle callback for each scheduler. suffers ...toddaaro-19/+69
2013-08-08Enabled workstealing in the scheduler. Previously we had one global work queu...toddaaro-45/+114
2013-08-07std: Allow spawners to specify stack sizeBrian Anderson-7/+7
2013-08-07core: option.map_consume -> option.map_moveErick Tryzelaar-2/+2
2013-08-04std::rt: Schedule more scheduler callbacks to avoid dropping messagesBrian Anderson-1/+3
2013-08-04std::rt: Don't allow schedulers to exit before handling all messagesBrian Anderson-0/+10
2013-08-03remove obsolete `foreach` keywordDaniel Micay-2/+2
2013-08-02Add an assert_may_sleep() check on every context switch.Ben Blum-0/+4
2013-08-02Don't fail from kill signals if already unwinding.Ben Blum-1/+1
2013-08-02auto merge of #8221 : brson/rust/single-threaded, r=graydonbors-3/+9
2013-08-02std: Implement SingleThreaded spawn mode for newschedBrian Anderson-3/+9
2013-08-02replace `range` with an external iteratorDaniel Micay-4/+3
2013-08-01fixed incorrect handling of returned scheduler option and restructed schedule...toddaaro-63/+46