From 0497d21e5b7b483259642aad1f23392995863c17 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 20 Nov 2001 11:57:12 +0000 Subject: WaitFor, added sticky flag --- lib/Task.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lib/Task.cc') 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() { -- cgit v1.2.3