about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-07-24 07:32:14 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-30 08:33:53 -0700
commit8643a0d61359dfb1ebe38d4aae615e7c836b3d18 (patch)
treecc656602f919f34db3faaa7f2d72e58b94250499 /src/rustllvm/RustWrapper.cpp
parent355c798ac3eba15bb2d53a6c553c6149391f9615 (diff)
downloadrust-8643a0d61359dfb1ebe38d4aae615e7c836b3d18.tar.gz
rust-8643a0d61359dfb1ebe38d4aae615e7c836b3d18.zip
green: Prevent runtime corruption on spawn failure
Like with libnative, when a green task failed to spawn it would leave the world
in a corrupt state where the local scheduler had been dropped as well as the
local task. Also like libnative, this patch sets up a "bomb" which when it goes
off will restore the state of the world.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions