projects
/
cdsspec-compiler.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
local commit... bug that prunes too many executions
[cdsspec-compiler.git]
/
threads.h
diff --git
a/threads.h
b/threads.h
index b69f4265618d1dd2eb4ef18c66aef2b4442a0496..a379494d43bd93ee78dea0f3f0bb98dcd0af60a4 100644
(file)
--- a/
threads.h
+++ b/
threads.h
@@
-81,6
+81,14
@@
public:
*/
void push_wait_list(ModelAction *act) { wait_list.push_back(act); }
*/
void push_wait_list(ModelAction *act) { wait_list.push_back(act); }
+ unsigned int num_wait_list() {
+ return wait_list.size();
+ }
+
+ ModelAction * get_waiter(unsigned int i) {
+ return wait_list[i];
+ }
+
ModelAction * get_pending() { return pending; }
void set_pending(ModelAction *act) { pending = act; }
/**
ModelAction * get_pending() { return pending; }
void set_pending(ModelAction *act) { pending = act; }
/**