librace: actually compute the loads and stores
[model-checker.git] / schedule.h
index aa50ac3705f93a82ec397c56fcb66de9ad04dc75..555cbc4ad027896337a0910969089103d875956f 100644 (file)
@@ -3,14 +3,16 @@
 
 #include <list>
 
-#include "threads.h"
-#include "model.h"
+/* Forward declaration */
+class Thread;
 
 class Scheduler {
 public:
        void add_thread(Thread *t);
+       void remove_thread(Thread *t);
        Thread * next_thread(void);
        Thread * get_current_thread(void);
+       void print();
 private:
        std::list<Thread *> readyList;
        Thread *current;