rt: Add a function for configuring task notification

This commit is contained in:
Brian Anderson
2012-02-08 16:22:38 -08:00
parent e0d5b92b84
commit d756b01619
4 changed files with 19 additions and 0 deletions

View File

@@ -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++