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-23 22:48:04 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-07-30 07:06:44 -0700
commite156d001c6577593295f6eee417ea8758fbc4a84 (patch)
tree950f59577dd87a0b723c3ff1ec98c73d632c794e /src/rustllvm/RustWrapper.cpp
parent692077b6431460b96beb0ccf4f38299618d51db2 (diff)
downloadrust-e156d001c6577593295f6eee417ea8758fbc4a84.tar.gz
rust-e156d001c6577593295f6eee417ea8758fbc4a84.zip
rustrt: Allow dropping a brand-new Task
When a new task fails to spawn, it triggers a task failure of the spawning task.
This ends up causing runtime aborts today because of the destructor bomb in the
Task structure. The bomb doesn't actually need to go off until *after* the task
has run at least once.

This now prevents a runtime abort when a native thread fails to spawn.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions