Reduce thread priority

This commit is contained in:
Maschell 2018-07-13 18:30:30 +02:00
parent 144a27022d
commit 034f85b398
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ OSMessageQueue encodeQueue __attribute__((section(".data")));
OSMessage encodeQueueMessages[ENCODE_QUEUE_MESSAGE_COUNT] __attribute__((section(".data"))); OSMessage encodeQueueMessages[ENCODE_QUEUE_MESSAGE_COUNT] __attribute__((section(".data")));
void EncodingHelper::StartAsyncThread() { void EncodingHelper::StartAsyncThread() {
int32_t priority = 17; int32_t priority = 31;
this->pThread = CThread::create(DoAsyncThread, this, CThread::eAttributeAffCore0, priority,0x40000); this->pThread = CThread::create(DoAsyncThread, this, CThread::eAttributeAffCore0, priority,0x40000);
this->pThread->resumeThread(); this->pThread->resumeThread();
} }

View File

@ -60,7 +60,7 @@ public:
static int32_t getPriority() { static int32_t getPriority() {
return 10; return 31;
} }
static volatile bool isInstanceConnected() { static volatile bool isInstanceConnected() {