diff options
Diffstat (limited to 'lib/Task.cc')
| -rw-r--r-- | lib/Task.cc | 10 | 
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);  }  | 
