diff --git a/src/libCom/error/errlog.c b/src/libCom/error/errlog.c index 15c73a63b..4a4e02588 100644 --- a/src/libCom/error/errlog.c +++ b/src/libCom/error/errlog.c @@ -314,7 +314,7 @@ static void errlogInitPvt(void *arg) /*Allow an extra MAX_MESSAGE_SIZE for extra margain of safety*/ pbuffer = pvtCalloc(pvtData.buffersize+MAX_MESSAGE_SIZE,sizeof(char)); pvtData.pbuffer = pbuffer; - tid = threadCreate("errlog",threadPriorityChannelAccessServer-2, + tid = threadCreate("errlog",threadPriorityLow, threadGetStackSize(threadStackSmall), (THREADFUNC)errlogTask,0); if(tid) pvtData.errlogInitFailed = FALSE; diff --git a/src/libCom/taskwd/taskwd.c b/src/libCom/taskwd/taskwd.c index 5f01a062e..a5f1b8ebf 100644 --- a/src/libCom/taskwd/taskwd.c +++ b/src/libCom/taskwd/taskwd.c @@ -72,7 +72,7 @@ static void taskwdInitPvt(void *arg) ellInit(&list); ellInit(&anylist); taskwdid = threadCreate( - "taskwd",threadPriorityChannelAccessServer-2, + "taskwd",threadPriorityLow, threadGetStackSize(threadStackSmall), (THREADFUNC)taskwdTask,0); }