about summary refs log tree commit diff
path: root/src/rt/test/rust_test_runtime.cpp
AgeCommit message (Collapse)AuthorLines
2012-02-02rt: Remove bitrotted testsBrian Anderson-69/+0
2012-02-01make boxes self-describing (fixes #1493)" (take 2)Niko Matsakis-1/+1
this will be used to generate a new snapshot.
2012-02-01Revert "make boxes self-describing (fixes #1493)" until a newNiko Matsakis-1/+1
snapshot is prepared.
2012-02-01make boxes self-describing (fixes #1493)Niko Matsakis-1/+1
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-1/+1
2012-01-06rewrite task testsNiko Matsakis-2/+2
2012-01-06simplify task implNiko Matsakis-2/+2
2011-08-08Introduced task handles.unknown-1/+2
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-28Do all runtime calls to getenv at initializationBrian Anderson-2/+4
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-28Per-thread scheduling. Closes #682.Eric Holk-7/+6
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-3/+3
2011-07-06Removed what seems to be the last of the calls to rand(). Closes #582.Eric Holk-2/+2
2011-06-28Resurrecting the runtime unit tests, and modifying them so they compile ↵Eric Holk-0/+67
under the latest refactoring changes.
2011-06-28Removing runtime tests. The runtime is tested well enough by the standard ↵Eric Holk-73/+0
library tests, so we might as well have less code to fix during refactoring.
2011-06-27A little tidying in rt.Graydon Hoare-2/+0
2011-06-27Basic multithreading support. The infinite loops test successfully maxes out ↵Eric Holk-1/+1
the CPU.
2011-06-15Fixed a problem where spawn arguments were getting lost again. Also, fixed ↵Eric Holk-1/+1
up stack alignment, which closes #496
2011-05-24Dead code elimination.Rafael Ávila de Espíndola-3/+2
2011-05-24"constant propagate" rust_new_exit_task_glue to its only use.Rafael Ávila de Espíndola-2/+1
2011-05-18One exit_task_glue to rule them all.Rafael Ávila de Espíndola-1/+1
2011-05-18Remove dead rustboot code.Rafael Ávila de Espíndola-1/+0
2011-02-22Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare-0/+1
so access to argv works.
2010-10-28Cast NULL to uintptr_t when calling rust_task::start().Ralph Giles-1/+1
On gcc 4.5.1 (fedora 14 i686) rust_test_runtime.cpp fails to compile with the following error: rt/test/rust_test_runtime.cpp:57:61: error: passing NULL to non-pointer argument 3 of ‘void rust_task::start(uintptr_t, uintptr_t, uintptr_t, size_t)’ The explicit cast works around the error.
2010-09-10Cleanup, refactoring, and some runtime tests.Michael Bebenita-0/+77