1) Add more comments.
[c11tester.git] / schedule.h
index 68900a56918add354fe471418567c1d289eca49c..9b34e8287ba1c5dd22a71664eae83850bab5a208 100644 (file)
@@ -1,3 +1,7 @@
+/** @file schedule.h
+ *     @brief Thread scheduler.
+ */
+
 #ifndef __SCHEDULE_H__
 #define __SCHEDULE_H__
 
@@ -15,9 +19,10 @@ public:
        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;
 };