about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-07-20 03:55:39 -0700
committerbors <bors@rust-lang.org>2013-07-20 03:55:39 -0700
commite3142c5d3e0a69bff0e3d5506f617c5433a9a750 (patch)
treeac663b8946ea8d8f18f0c3c58cef11235b173ab0 /src/rt/rust_kernel.cpp
parentfdbd56ca38c4a58377056c63e0b03b0d4e131f2c (diff)
parent980646a4501a9622db40d3519a8f6db98f4359a1 (diff)
downloadrust-e3142c5d3e0a69bff0e3d5506f617c5433a9a750.tar.gz
rust-e3142c5d3e0a69bff0e3d5506f617c5433a9a750.zip
auto merge of #7858 : bblum/rust/kill, r=brson
Some notes about the commits.

Exit code propagation commits:
* ```Reimplement unwrap()``` has the same old code from ```arc::unwrap``` ported to use modern atomic types and finally (it's considerably nicer this way)
* ```Add try_unwrap()``` has some new slightly-tricky (but pretty simple) concurrency primitive code
* ```Add KillHandle``` and ```Add kill::Death``` are the bulk of the logic.

Task killing commits:
* ```Implement KillHandle::kill() and friends```, ```Do a task-killed check```, and ```Add BlockedTask``` implement the killing logic;
* ```Change the HOF context switchers``` turns said logic on

Linked failure commits:
* ```Replace *rust_task ptrs``` adapts the taskgroup code to work for both runtimes
* ```Enable taskgroup code``` does what it says on the tin.

r? @brson
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions