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