projects
/
model-checker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
support for locks... untested, but doesn't break quick run of a sample of test cases
[model-checker.git]
/
action.h
diff --git
a/action.h
b/action.h
index 753860984a2f2df79869deb11bb0053fdb05d7a5..c5179bcfa81a77de58b79b5c57077a28d32cfb24 100644
(file)
--- a/
action.h
+++ b/
action.h
@@
-72,6
+72,11
@@
public:
Node * get_node() const { return node; }
void set_node(Node *n) { node = n; }
Node * get_node() const { return node; }
void set_node(Node *n) { node = n; }
+ void set_try_lock(bool obtainedlock);
+ bool is_mutex_op() const;
+ bool is_lock() const;
+ bool is_trylock() const;
+ bool is_unlock() const;
bool is_success_lock() const;
bool is_failed_trylock() const;
bool is_read() const;
bool is_success_lock() const;
bool is_failed_trylock() const;
bool is_read() const;