Fixed up SICS task priorities
This commit is contained in:
2
ease.c
2
ease.c
@ -840,7 +840,7 @@ static int EaseInit(SConnection * pCon, EaseBase * eab, int argc,
|
||||
eab->task = FsmStartTask(eab, eab->handler, eab->idle, eab->p.name);
|
||||
|
||||
TaskRegisterN(pServ->pTasker,"ease", (TaskFunc) FsmTaskHandler, NULL, FsmKill,
|
||||
eab->task, 0);
|
||||
eab->task, TASK_PRIO_LOW);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
2
pardef.c
2
pardef.c
@ -1088,7 +1088,7 @@ void ParOut(char *buf)
|
||||
buf);
|
||||
if (!ctx->obj->logPending) {
|
||||
ctx->obj->logPending = 1;
|
||||
TaskRegisterN(pServ->pTasker,"parlog", ParLog, NULL, NULL, ctx->obj, 0); /* schedule ParLog */
|
||||
TaskRegisterN(pServ->pTasker,"parlog", ParLog, NULL, NULL, ctx->obj, TASK_PRIO_LOW); /* schedule ParLog */
|
||||
}
|
||||
break;
|
||||
case PAR_LOG:
|
||||
|
@ -71,7 +71,7 @@ static int Countstartcallback(int iEvent, void *pEventData, void *pUser)
|
||||
self->iEnd = 0;
|
||||
self->tUpdate = time(NULL);
|
||||
self->pCon = (SConnection *) pEventData;
|
||||
TaskRegisterN(pServ->pTasker,"POLDIUpdater", PoldiTask, NULL, NULL, self, 1);
|
||||
TaskRegisterN(pServ->pTasker,"POLDIUpdater", PoldiTask, NULL, NULL, self, TASK_PRIO_LOW);
|
||||
return 1;
|
||||
}
|
||||
return 1;
|
||||
|
2
sinq.c
2
sinq.c
@ -125,7 +125,7 @@ int SinqFactory(SConnection * pCon, SicsInterp * pSics,
|
||||
for (i = 0; i < MAXLOG; i++) {
|
||||
pNew->lastSinq[i] = -200;
|
||||
}
|
||||
TaskRegisterN(pServ->pTasker,"sinq", SinqTask, NULL, NULL, pNew, 1);
|
||||
TaskRegisterN(pServ->pTasker,"sinq", SinqTask, NULL, NULL, pNew, TASK_PRIO_LOW);
|
||||
return AddCommand(pSics, "sinq", SinqWrapper, KillSinq, pNew);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user