Implement task priorities and message queues
This commit is contained in:
@ -379,7 +379,7 @@ int InstallSICSPoll(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
pNew->pCon = defCon;
|
||||
pNew->nPoll = 3;
|
||||
|
||||
TaskRegisterN(pServ->pTasker,"sicspoll", PollTask, SicsPollSignal, NULL, pNew, 10);
|
||||
TaskRegisterN(pServ->pTasker,"sicspoll", PollTask, SicsPollSignal, NULL, pNew, TASK_PRIO_HIGH);
|
||||
|
||||
if (argc > 1) {
|
||||
AddCommand(pSics, argv[1], SICSPollWrapper, killSicsPoll, pNew);
|
||||
|
Reference in New Issue
Block a user