2 * @brief Thread scheduler.
11 /* Forward declaration */
14 /** @brief The Scheduler class performs the mechanics of Thread execution
19 void add_thread(Thread *t);
20 void remove_thread(Thread *t);
21 void sleep(Thread *t);
23 Thread * next_thread(Thread *t);
24 Thread * get_current_thread() const;
29 /** The list of available Threads that are not currently running */
30 std::list<Thread *> readyList;
32 /** The currently-running Thread */
36 #endif /* __SCHEDULE_H__ */