Implement task priorities and message queues
This commit is contained in:
@ -292,7 +292,7 @@ static void printPollList(pSicsPoll self, SConnection *pCon){
|
||||
pNew->pCon = defCon;
|
||||
pNew->nPoll = 3;
|
||||
|
||||
TaskRegister(pServ->pTasker,PollTask,SicsPollSignal,NULL,pNew, 10);
|
||||
TaskRegister(pServ->pTasker,PollTask,SicsPollSignal,NULL,pNew, TASK_PRIO_HIGH);
|
||||
|
||||
if(argc > 1){
|
||||
AddCommand(pSics,argv[1],SICSPollWrapper,
|
||||
|
Reference in New Issue
Block a user