diff options
Diffstat (limited to 'lib/Task.cc')
-rw-r--r-- | lib/Task.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Task.cc b/lib/Task.cc index 4978bde..a56a2ff 100644 --- a/lib/Task.cc +++ b/lib/Task.cc @@ -49,20 +49,20 @@ void Task::Suspend() throw (GeneralException) { throw TaskSwitch(); } -void Task::WaitFor(Handle * h) { - w4ha.push_back(h); +void Task::WaitFor(Handle * h, int flags) { + w4ha.push_back(w4ha_t(h, flags)); } -void Task::WaitFor(Task * t) { - w4ta.push_back(t); +void Task::WaitFor(Task * t, int flags) { + w4ta.push_back(w4ta_t(t, flags)); } -void Task::WaitFor(pid_t p) { - w4pr.push_back(p); +void Task::WaitFor(pid_t p, int flags) { + w4pr.push_back(w4pr_t(p, flags)); } -void Task::WaitFor(timeval t) { - w4to.push_back(t); +void Task::WaitFor(timeval t, int flags) { + w4to.push_back(w4to_t(t, flags)); } void Task::SetBurst() { |