summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-11-13 11:50:37 +0000
committerPixel <Pixel>2001-11-13 11:50:37 +0000
commit9235fbc2a736da2c68eb2dc0a3c1007b4a202d5e (patch)
tree4045976599c1738646e6debccefa90d00107a42e /lib/Task.cc
parent701e4e617e00e7f0ed4f07c1c4bcc20f6fb6ce4d (diff)
Still working on task system.
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index 2db8ce5..338eaba 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -5,7 +5,7 @@
Task::Task() : state(TASK_ON_HOLD), suspended(false) {}
Task::~Task() {}
-int Task::Do() {
+int Task::Do() throw (GeneralException) {
return TASK_ON_HOLD;
}
@@ -43,18 +43,18 @@ void Task::Suspend() throw (GeneralException) {
throw TaskSwitch();
}
-void WaitFor(Handle * h) {
+void Task::WaitFor(Handle * h) {
w4ha.push_back(h);
}
-void WaitFor(Task * t) {
+void Task::WaitFor(Task * t) {
w4ta.push_back(t);
}
-void WaitFor(pid_t p) {
+void Task::WaitFor(pid_t p) {
w4pr.push_back(p);
}
-void WaitFor(struct timeval t) {
+void Task::WaitFor(struct timeval t) {
w4to.push_back(t);
}