projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
model: cosmetic improvements to resolve_promises()
[model-checker.git]
/
schedule.h
diff --git
a/schedule.h
b/schedule.h
index d4780c884d672afd4b3eabc4e1fc22aaf30be289..10312326528fadd4ad6e39f113030068d0cb19b7 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;
@@
-37,6
+37,7
@@
public:
void update_sleep_set(Node *n);
bool is_enabled(const Thread *t) const;
bool is_enabled(thread_id_t tid) const;
void update_sleep_set(Node *n);
bool is_enabled(const Thread *t) const;
bool is_enabled(thread_id_t tid) const;
+ bool is_sleep_set(const Thread *t) const;
SNAPSHOTALLOC
private:
SNAPSHOTALLOC
private: