VirtualBox

Ignore:
Timestamp:
Aug 12, 2024 12:03:59 PM (4 months ago)
Author:
vboxsync
Message:

GA/Windows: Prevent CPU throttle in case of multiple failures. bugref:10714

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceDisplayConfig.cpp

    r105641 r105651  
    2727#include <iprt/win/windows.h>
    2828#include <wtsapi32.h>
    29 #include <ntsecapi.h>
    3029
    3130#include <iprt/errcore.h>
     
    265264                    ReconnectDisplays(cDisplays, &aDisplays[0]);
    266265                }
     266            }
     267            else
     268            {
     269                /* To prevent CPU throttle in case of multiple failures */
     270                RTThreadSleep(200);
    267271            }
    268272
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette