about summary refs log tree commit diff
path: root/src/libstd/rt/sched.rs
AgeCommit message (Expand)AuthorLines
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
2013-08-01minor tweaks - unboxed the coroutine so that it is no longer a ~ pointer insi...toddaaro-3/+31
2013-08-01Fixed a race where a scheduler configured to only run tasks pinned to it woul...toddaaro-7/+34
2013-08-01A major refactoring that changes the way the runtime uses TLS. In thetoddaaro-573/+454
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-1/+1
2013-07-30std::rt: Change Thread interface to require an explicit joinBrian Anderson-6/+7
2013-07-26Consolidate raw representations of rust valuesAlex Crichton-2/+2
2013-07-20Change the HOF context switchers to pass a BlockedTask instead of a ~Task.Ben Blum-23/+60
2013-07-20Do a task-killed check at the start of task 'timeslices'.Ben Blum-0/+11
2013-07-16Rename Option swap_unwrap to take_unwrap. Fixes Issue#7764Austin King-5/+5
2013-07-03Merge remote-tracking branch 'mozilla/master'Brian Anderson-2/+3
2013-07-01removed unnecessary import that slipped in during mergetoddaaro-1/+0
2013-07-01merging task/coroutine refactoring back into upstreamtoddaaro-19/+18
2013-07-01Refactored the runtime to view coroutines as a component of tasks, instead of...toddaaro-337/+69
2013-06-26std::rt: Some cleanupBrian Anderson-18/+17
2013-06-20std::rt: WhitespaceBrian Anderson-2/+2
2013-06-19Modified a match in resume_task_from_queue that was returning an int that was...toddaaro-17/+17
2013-06-17std: Rename `abort!` to `rtabort!` to match other macrosBrian Anderson-7/+7
2013-06-16Merge remote-tracking branch 'brson/io'Brian Anderson-100/+958
2013-06-15Merge remote-tracking branch 'brson/io-wip' into ioBrian Anderson-18/+20
2013-06-14redesigned the pinning to pin deal with things on dequeue, not on enqueuetoddaaro-181/+360
2013-06-13std::rt: Change the Task constructors to reflect a treeBrian Anderson-11/+11
2013-06-13std::rt: Add JoinLatchBrian Anderson-1/+4
2013-06-12added functionality to tell schedulers to refuse to run tasks that are not pi...toddaaro-13/+35
2013-06-12A basic implementation of pinning tasks to schedulers. No IO interactions hav...toddaaro-42/+372
2013-06-10debugged a compiler ICE when merging local::borrow changes into the main io b...toddaaro-1/+1
2013-06-07std::rt: Reduce task stack size to 1MBBrian Anderson-1/+1
2013-06-05std::rt: Remove in incorrect assertBrian Anderson-1/+3
2013-06-05std::rt: Destroy the task start closure while in task contextBrian Anderson-1/+36
2013-06-04std::cell: Modernize constructorsPhilipp Brüschweiler-6/+6
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-25/+26