mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-25 22:41:16 +01:00
Change priority of output threads
This commit is contained in:
parent
cceaa31404
commit
bc9a7c3e65
@ -529,7 +529,7 @@ namespace DS4Windows
|
|||||||
if (conType == ConnectionType.BT)
|
if (conType == ConnectionType.BT)
|
||||||
{
|
{
|
||||||
ds4Output = new Thread(performDs4Output);
|
ds4Output = new Thread(performDs4Output);
|
||||||
ds4Output.Priority = ThreadPriority.AboveNormal;
|
ds4Output.Priority = ThreadPriority.Normal;
|
||||||
ds4Output.Name = "DS4 Output thread: " + Mac;
|
ds4Output.Name = "DS4 Output thread: " + Mac;
|
||||||
ds4Output.IsBackground = true;
|
ds4Output.IsBackground = true;
|
||||||
ds4Output.Start();
|
ds4Output.Start();
|
||||||
@ -543,7 +543,7 @@ namespace DS4Windows
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
ds4Output = new Thread(OutReportCopy);
|
ds4Output = new Thread(OutReportCopy);
|
||||||
ds4Output.Priority = ThreadPriority.AboveNormal;
|
ds4Output.Priority = ThreadPriority.Normal;
|
||||||
ds4Output.Name = "DS4 Arr Copy thread: " + Mac;
|
ds4Output.Name = "DS4 Arr Copy thread: " + Mac;
|
||||||
ds4Output.IsBackground = true;
|
ds4Output.IsBackground = true;
|
||||||
ds4Output.Start();
|
ds4Output.Start();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user