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 2cd09ab53739de7d327de3e5758af6b7ba66465d..b15c40944aedadb3114d1239d1f16b6259e51535 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