summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-20 11:57:12 +0000
committerPixel <Pixel>2001-11-20 11:57:12 +0000
commit0497d21e5b7b483259642aad1f23392995863c17 (patch)
tree3be88d03b903df7e6c716ca5eb66cdfb71f11bb8 /lib/Task.cc
parentcca213f6493119ab3f642e08dba798f557630f53 (diff)
WaitFor, added sticky flag
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc16
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() {