Ben Blum
|
9bbec651df
|
Replace *rust_task ptrs in taskgroup code with TaskHandle, for transitioning to newsched killing.
|
2013-07-20 05:08:57 -04:00 |
|
Ben Blum
|
2a7273c71e
|
Stash a spare kill flag inside tasks, to save two atomic xadds in the blocking fastpath.
|
2013-07-20 05:08:57 -04:00 |
|
Ben Blum
|
e283c4ddff
|
Add tests for task killing and blocking.
|
2013-07-20 05:08:57 -04:00 |
|
Ben Blum
|
0101f35f27
|
Add BlockedTask (wake, try_block, etc) in kill.rs.
|
2013-07-20 05:08:57 -04:00 |
|
Ben Blum
|
e80efe3fda
|
Do a task-killed check at the start of task 'timeslices'.
|
2013-07-20 05:08:56 -04:00 |
|
Ben Blum
|
629f6e8d68
|
Implement KillHandle::kill() and friends (unkillable, atomically). Close #6377.
|
2013-07-20 05:08:56 -04:00 |
|
Ben Blum
|
2a99320583
|
Add tests for KillHandle
|
2013-07-20 05:08:56 -04:00 |
|
Ben Blum
|
6882508b6f
|
Add kill::Death for task death services and use it in Task.
|
2013-07-20 05:08:56 -04:00 |
|
Ben Blum
|
52ca256d7b
|
Add KillHandle and implement exit code propagation to replace join_latch
|
2013-07-20 05:08:56 -04:00 |
|