From d756b01619444bbbaa27d1f43ca4000c976c8bee Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 8 Feb 2012 16:22:38 -0800 Subject: rt: Add a function for configuring task notification --- src/rt/rust_task.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/rt/rust_task.cpp') diff --git a/src/rt/rust_task.cpp b/src/rt/rust_task.cpp index 79b3d873e88..398db5976bb 100644 --- a/src/rt/rust_task.cpp +++ b/src/rt/rust_task.cpp @@ -713,6 +713,12 @@ rust_task::check_stack_canary() { ::check_stack_canary(stk); } +void +rust_task::config_notify(chan_handle chan) { + user.notify_enabled = true; + user.notify_chan = chan; +} + // // Local Variables: // mode: C++ -- cgit 1.4.1-3-g733a5