mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 09:19:18 +01:00
Changed Sleep to SpinWait. VS tweak
This commit is contained in:
parent
99c2f020b4
commit
950c0e0924
@ -224,9 +224,9 @@ namespace DS4WinWPF
|
||||
sw.Start();
|
||||
while (App.rootHub.running != serviceRunningStatus && sw.Elapsed.TotalSeconds < 10)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
Thread.SpinWait(1000);
|
||||
}
|
||||
Thread.Sleep(500);
|
||||
Thread.SpinWait(1000);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user