about summary refs log tree commit diff
path: root/src/rt/rust_scheduler.cpp
AgeCommit message (Collapse)AuthorLines
2011-07-21Lots of work on memory tracking and channels.Eric Holk-1/+2
We're trying to get closer to doing correct move semantics for channel operations. This involves a lot of cleanup (such as removing the unused sched parameter from rust_vec constructor) and making circular_buffer kernel_owned. Added tagging for memory allocations. This means we give a string tag to everything we allocate. If we leak something and TRACK_ALLOCATIONS is enabled, then it's much easier now to tell exactly what is leaking.
2011-07-14Move the responsibility for process failure from tasks to the schedulerBrian Anderson-0/+1
When the root task fails the process fails. Failures on other tasks propagate up the task tree. Failures on non-root tasks without parents just (theoretically) unwind and disappear.
2011-07-13Fix compile-command lines in rt.Graydon Hoare-1/+1
2011-07-13Attempt to correct buggy win32 timer code (causing tinderbox failures).Graydon Hoare-2/+3
2011-07-06Added a task wakeup callback. Closes #599.Eric Holk-1/+3
The callback happens when a task moves from the "blocked" state to the "running" state. The callback is also inherited by child tasks. There is currently only a native API. This code hasn't been heavily exercised yet.
2011-06-29Added inheritance for task pinning. Closes #598 for real.Eric Holk-0/+2
2011-06-29Adding support for pinning tasks to the currently running thread. Closes #598.Eric Holk-10/+9
2011-06-28Renamed what's left of rust_dom to rust_schedulerEric Holk-0/+308