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 wait(Thread *wait, Thread *join);
22 void sleep(Thread *t);
24 Thread * next_thread(Thread *t);
25 Thread * get_current_thread() const;
30 /** The list of available Threads that are not currently running */
31 std::list<Thread *> readyList;
33 /** The currently-running Thread */
37 #endif /* __SCHEDULE_H__ */