Cache task handles.

This commit is contained in:
Michael Bebenita
2010-09-08 19:26:46 -07:00
parent 616b7afb72
commit 743ca289b6
2 changed files with 8 additions and 2 deletions

View File

@@ -46,6 +46,8 @@ rust_task : public maybe_proxy<rust_task>,
rust_alarm alarm;
rust_handle<rust_task> *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,