projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug...can't mo_check_promises until we're done resolving promises for a write...
[model-checker.git]
/
mutex.h
diff --git
a/mutex.h
b/mutex.h
index a65250b542fafd68a28ab089131d0a4937694784..53fccb2b89a8974fb26ed8d60f4f1262d3c23396 100644
(file)
--- a/
mutex.h
+++ b/
mutex.h
@@
-1,10
+1,13
@@
#ifndef MUTEX_H
#define MUTEX_H
-#include "threads.h"
+
+#include "modeltypes.h"
namespace std {
struct mutex_state {
bool islocked;
+ thread_id_t alloc_tid;
+ modelclock_t alloc_clock;
};
class mutex {