model: record the number of feasible executions
[model-checker.git] / schedule.h
index 68ef11106d080afddd6857a322e6d254501554a3..a7483e02340942cf773ea7a69c890d72b384f69a 100644 (file)
@@ -18,9 +18,11 @@ public:
        Scheduler();
        void add_thread(Thread *t);
        void remove_thread(Thread *t);
-       Thread * next_thread();
+       void sleep(Thread *t);
+       void wake(Thread *t);
+       Thread * next_thread(Thread *t);
        Thread * get_current_thread() const;
-       void print();
+       void print() const;
 
        SNAPSHOTALLOC
 private: