projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
start support for drawing execution diagrams
[model-checker.git]
/
mutex.h
diff --git
a/mutex.h
b/mutex.h
index a65250b542fafd68a28ab089131d0a4937694784..828aae53f9e1d273900b776ab657907c87e3cd08 100644
(file)
--- a/
mutex.h
+++ b/
mutex.h
@@
-1,10
+1,13
@@
#ifndef MUTEX_H
#define MUTEX_H
#include "threads.h"
+#include "clockvector.h"
namespace std {
struct mutex_state {
bool islocked;
+ thread_id_t alloc_tid;
+ modelclock_t alloc_clock;
};
class mutex {