projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nodestack: bugfix - reset backtracking points on diverging paths
[model-checker.git]
/
schedule.h
diff --git
a/schedule.h
b/schedule.h
index 035ee78caadcedfc3119939a8f29028c5e269de7..121da08db05a3d0d735c4ca34926006b364c85cb 100644
(file)
--- a/
schedule.h
+++ b/
schedule.h
@@
-5,8
+5,8
@@
#ifndef __SCHEDULE_H__
#define __SCHEDULE_H__
#ifndef __SCHEDULE_H__
#define __SCHEDULE_H__
-#include <list>
#include "mymemory.h"
#include "mymemory.h"
+#include "modeltypes.h"
/* Forward declaration */
class Thread;
/* Forward declaration */
class Thread;
@@
-27,7
+27,8
@@
public:
void remove_thread(Thread *t);
void sleep(Thread *t);
void wake(Thread *t);
void remove_thread(Thread *t);
void sleep(Thread *t);
void wake(Thread *t);
- Thread * next_thread(Thread *t);
+ Thread * select_next_thread();
+ void set_current_thread(Thread *t);
Thread * get_current_thread() const;
void print() const;
enabled_type_t * get_enabled_array() const { return enabled; };
Thread * get_current_thread() const;
void print() const;
enabled_type_t * get_enabled_array() const { return enabled; };