- /** @return True if no threads are waiting on this Thread */
- bool wait_list_empty() const { return wait_list.empty(); }
-
- /**
- * Add a ModelAction to the waiting list for this thread.
- * @param t The ModelAction to add. Must be a JOIN.
- */
- void push_wait_list(ModelAction *act) { wait_list.push_back(act); }
-
- unsigned int num_wait_list() const {
- return wait_list.size();
- }
-
- ModelAction * get_waiter(unsigned int i) const {
- return wait_list[i];
- }
-