mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 06:43:49 +00:00
Use global mutex to ensure driver access are sequential
This commit is contained in:
parent
a1a438c3f8
commit
f7e3e70c2b
6 changed files with 148 additions and 74 deletions
|
|
@ -20,7 +20,7 @@ namespace PowerControl
|
|||
{
|
||||
Trace.WriteLine("WinRing0 initialized=" + WinRing0.InitializeOls().ToString());
|
||||
|
||||
VangoghGPU.Detect();
|
||||
Instance.WithGlobalMutex(1000, () => VangoghGPU.Detect());
|
||||
}
|
||||
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue