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:
parent
b51f5c395c
commit
62bc6b5113
14 changed files with 239 additions and 185 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue