merging stuff...made need to clean up some stuff...but need to push it somewhere...
[model-checker.git] / schedule.h
index 555cbc4ad027896337a0910969089103d875956f..8267feec9df32f2b26ae1c32a81d3a36f0affb8f 100644 (file)
@@ -2,6 +2,7 @@
 #define __SCHEDULE_H__
 
 #include <list>
+#include "mymemory.h"
 
 /* Forward declaration */
 class Thread;
@@ -13,8 +14,9 @@ public:
        Thread * next_thread(void);
        Thread * get_current_thread(void);
        void print();
+  MEMALLOC
 private:
-       std::list<Thread *> readyList;
+       std::list<Thread *, MyAlloc< Thread * > > readyList;
        Thread *current;
 };