diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 15:35:14 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 15:35:14 -0700 |
| commit | 77f0101edb85c574a94e15aa862ca075ed2fb886 (patch) | |
| tree | e805abe57ca87d1e63c9092d940914d41bbbba3f /src/rt/rust_task.h | |
| parent | 5209b192558e4adf0baa0981c463dcff61ec0636 (diff) | |
| download | rust-77f0101edb85c574a94e15aa862ca075ed2fb886.tar.gz rust-77f0101edb85c574a94e15aa862ca075ed2fb886.zip | |
rt: Add an on-the-side GC chain
Diffstat (limited to 'src/rt/rust_task.h')
| -rw-r--r-- | src/rt/rust_task.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rt/rust_task.h b/src/rt/rust_task.h index 5513cd9e282..05c34cec587 100644 --- a/src/rt/rust_task.h +++ b/src/rt/rust_task.h @@ -5,6 +5,8 @@ #ifndef RUST_TASK_H #define RUST_TASK_H +#include <map> + #include "util/array_list.h" #include "context.h" @@ -113,6 +115,8 @@ rust_task : public kernel_owned<rust_task>, rust_cond rust_obstack dynastack; + std::map<void *,type_desc *> local_allocs; + // Only a pointer to 'name' is kept, so it must live as long as this task. rust_task(rust_scheduler *sched, rust_task_list *state, |
