snapshot: remove time information
[model-checker.git] / schedule.h
index 8267feec9df32f2b26ae1c32a81d3a36f0affb8f..f4965369b2a62be67a124ae29a44b4172c28f0eb 100644 (file)
@@ -9,14 +9,16 @@ class Thread;
 
 class Scheduler {
 public:
+       Scheduler();
        void add_thread(Thread *t);
        void remove_thread(Thread *t);
        Thread * next_thread(void);
        Thread * get_current_thread(void);
        void print();
-  MEMALLOC
+
+       SNAPSHOTALLOC
 private:
-       std::list<Thread *, MyAlloc< Thread * > > readyList;
+       std::list<Thread *> readyList;
        Thread *current;
 };