2011-06-28 14:15:41 -05:00
|
|
|
// -*- c++ -*-
|
2010-09-10 03:21:29 -05:00
|
|
|
#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<rust_task>,
|
2011-06-27 21:15:03 -05:00
|
|
|
public kernel_owned<rust_task_list> {
|
2010-09-10 03:21:29 -05:00
|
|
|
public:
|
2011-06-28 14:15:41 -05:00
|
|
|
rust_scheduler *sched;
|
2010-09-10 03:21:29 -05:00
|
|
|
const char* name;
|
2011-06-28 14:15:41 -05:00
|
|
|
rust_task_list (rust_scheduler *sched, const char* name);
|
2010-09-10 03:21:29 -05:00
|
|
|
void delete_all();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* RUST_TASK_LIST_H */
|