Per-thread scheduling. Closes #682.

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.
This commit is contained in:
Eric Holk
2011-07-23 19:03:02 -07:00
parent b51f5c395c
commit 62bc6b5113
14 changed files with 239 additions and 185 deletions

View File

@@ -91,6 +91,7 @@ rust_task : public maybe_proxy<rust_task>,
// Indicates that the task ended in failure
bool failed;
bool propagate_failure;
lock_and_signal lock;