From 26e6eb3d14d7ff3bcbfa5ca442a6928776982e98 Mon Sep 17 00:00:00 2001 From: Eric Holk Date: Tue, 10 Jul 2012 10:58:44 -0700 Subject: Handle failure conditions correctly in pipes. --- src/rt/rust_builtin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rt/rust_builtin.cpp') diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 732dbaa3293..aa314d2811e 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -930,11 +930,11 @@ task_clear_event_reject(rust_task *task) { // Waits on an event, returning the pointer to the event that unblocked this // task. extern "C" void * -task_wait_event(rust_task *task) { +task_wait_event(rust_task *task, bool *killed) { // TODO: we should assert that the passed in task is the currently running // task. We wouldn't want to wait some other task. - return task->wait_event(); + return task->wait_event(killed); } extern "C" void -- cgit 1.4.1-3-g733a5