rt: Add an on-the-side GC chain

This commit is contained in:
Patrick Walton
2011-09-20 15:35:14 -07:00
parent 5209b19255
commit 77f0101edb
2 changed files with 8 additions and 0 deletions

View File

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