mirror of
https://github.com/Maschell/StreamingPluginWiiU.git
synced 2024-11-27 23:24:20 +01:00
Reduce thread priority
This commit is contained in:
parent
144a27022d
commit
034f85b398
@ -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();
|
||||||
}
|
}
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user