void Server::addTask(AbsRTTask &task, const string ¶ms) { DBGENTER(_SERVER_DBG_LEV); task.setKernel(this); tasks.push_back(&task); DBGPRINT_2("Calling sched->addTask, with params = ", params); sched_->addTask(&task, params); }
void RTKernel::addTask(AbsRTTask &t, const string ¶ms) { t.setKernel(this); _handled.push_back(&t); _sched->addTask(&t, params); }