projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding STL stuff and operator news of snapshot to model-checker. Need to actuallly...
[model-checker.git]
/
schedule.h
diff --git
a/schedule.h
b/schedule.h
index 555cbc4ad027896337a0910969089103d875956f..8267feec9df32f2b26ae1c32a81d3a36f0affb8f 100644
(file)
--- a/
schedule.h
+++ b/
schedule.h
@@
-2,6
+2,7
@@
#define __SCHEDULE_H__
#include <list>
#define __SCHEDULE_H__
#include <list>
+#include "mymemory.h"
/* Forward declaration */
class Thread;
/* Forward declaration */
class Thread;
@@
-13,8
+14,9
@@
public:
Thread * next_thread(void);
Thread * get_current_thread(void);
void print();
Thread * next_thread(void);
Thread * get_current_thread(void);
void print();
+ MEMALLOC
private:
private:
- std::list<Thread *> readyList;
+ std::list<Thread *
, MyAlloc< Thread * >
> readyList;
Thread *current;
};
Thread *current;
};