From 743ca289b6cec6dafb1d1952646b7ec73c63cf07 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Wed, 8 Sep 2010 19:26:46 -0700 Subject: Cache task handles. --- src/rt/rust_task.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/rt/rust_task.h') diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 383707f0..7b0cfef7 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -46,6 +46,8 @@ rust_task : public maybe_proxy, rust_alarm alarm; + rust_handle *handle; + // Only a pointer to 'name' is kept, so it must live as long as this task. rust_task(rust_dom *dom, rust_task *spawner, -- cgit v1.2.3