From a493350eb5ab38ba8a6563f3eb4a090d257b0d3a Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Fri, 10 Sep 2010 01:21:29 -0700 Subject: Cleanup, refactoring, and some runtime tests. --- src/rt/rust_task_list.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/rt/rust_task_list.h (limited to 'src/rt/rust_task_list.h') diff --git a/src/rt/rust_task_list.h b/src/rt/rust_task_list.h new file mode 100644 index 00000000..b1fba750 --- /dev/null +++ b/src/rt/rust_task_list.h @@ -0,0 +1,16 @@ +#ifndef RUST_TASK_LIST_H +#define RUST_TASK_LIST_H + +/** + * Used to indicate the state of a rust task. + */ +class rust_task_list : public indexed_list, + public dom_owned { +public: + rust_dom *dom; + const char* name; + rust_task_list (rust_dom *dom, const char* name); + void delete_all(); +}; + +#endif /* RUST_TASK_LIST_H */ -- cgit v1.2.3