about summary refs log tree commit diff
path: root/src/rt/rust_scheduler.h
AgeCommit message (Collapse)AuthorLines
2011-09-28rt: Expose the C stack inside the Rust scheduler so that C calls can switch ↵Patrick Walton-0/+3
to it
2011-09-27rt: Store the task in TLSPatrick Walton-0/+16
2011-08-25rustc: Add an extra flag to object tydescs so that shapes know how to find ↵Patrick Walton-4/+3
the captured subtydescs
2011-08-18Remove rc_base. Closes #603.Michael Sullivan-1/+2
2011-08-10rt: Shutdown gracefully on failureBrian Anderson-0/+2
When the kernel fails, kill all tasks and wait for the schedulers to stop instead of just exiting. I'm sure there are tons of lurking issues here but this is enough to fail without leaking (at least in the absence of cleanups).
2011-08-08Introduced task handles.unknown-3/+0
This is the new way to refer to tasks in rust-land. Currently all they do is serve as a key to look up the old rust_task structure. Ideally they won't be ref counted, but baby steps.
2011-07-29Removing proxies and message queues.Eric Holk-10/+3
2011-07-28Do all runtime calls to getenv at initializationBrian Anderson-0/+3
getenv is not threadsafe and (maybe as a result) it's randomly crashing with CFLAGS=-g and RUST_THREADS=32. Calls from rust code are still on their own.
2011-07-28Updating to work on Windows.Eric Holk-0/+6
2011-07-28Per-thread scheduling. Closes #682.Eric Holk-5/+11
Tasks are spawned on a random thread. Currently they stay there, but we should add task migration and load balancing in the future. This should drammatically improve our task performance benchmarks.
2011-07-28Made root_task no longer special.Eric Holk-2/+0
2011-07-13Fix compile-command lines in rt.Graydon Hoare-1/+1
2011-06-29Adding support for pinning tasks to the currently running thread. Closes #598.Eric Holk-2/+2
2011-06-29Re-enable tidy (it was broken) and fix various non-tidy things.Graydon Hoare-1/+2
2011-06-28Renamed what's left of rust_dom to rust_schedulerEric Holk-0/+107