projects
/
c11tester.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
threads: add waiting_on()
[c11tester.git]
/
threads-model.h
diff --git
a/threads-model.h
b/threads-model.h
index
2cd09ab
..
b15c409
100644
(file)
--- a/
threads-model.h
+++ b/
threads-model.h
@@
-104,6
+104,8
@@
public:
* @see Thread::pending */
void set_pending(ModelAction *act) { pending = act; }
+ Thread * waiting_on() const;
+
/**
* Remove one ModelAction from the waiting list
* @return The ModelAction that was removed from the waiting list