summary refs log tree commit diff
path: root/src/rt/rust_task.h
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-09-14 15:26:59 -0700
committerBrian Anderson <banderson@mozilla.com>2011-09-14 15:48:14 -0700
commit103197bc422b6f1ae9958cc5c6a928d94d3e3366 (patch)
treec675af1a67f0f34ada01f5f4c522e4f74ff43240 /src/rt/rust_task.h
parent6dcd0a9b5e8b45262e3225ddff62d0a1098006ca (diff)
downloadrust-103197bc422b6f1ae9958cc5c6a928d94d3e3366.tar.gz
rust-103197bc422b6f1ae9958cc5c6a928d94d3e3366.zip
Make failure propagation to dead parents work
The failure will basically go 'through' the dead parent and continue
propagating the failure (as if the child was reparented).
Diffstat (limited to 'src/rt/rust_task.h')
-rw-r--r--src/rt/rust_task.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h
index 27445c1de2e..d1a9b66f9e5 100644
--- a/src/rt/rust_task.h
+++ b/src/rt/rust_task.h
@@ -158,6 +158,7 @@ rust_task : public kernel_owned<rust_task>, rust_cond
     // Fail self, assuming caller-on-stack is this task.
     void fail();
     void conclude_failure();
+    void fail_parent();
 
     // Disconnect from our supervisor.
     void unsupervise();