Replies: 2 comments 2 replies
-
It would be a great addition
|
Beta Was this translation helpful? Give feedback.
-
it is enough to override the power setting in some circumstancing of long compilation of some libraries and that's it, that's why low priority, but there could be other cases when. for absurd, an enterprise laptop as power management policy that cannot be changed and go to sleep after some minutes of inactivity, idle mode for instance, and with modern CPU, even when 1 core is processing, the OS speculate the system is on idle mode, due to a threshold of resource usage probably... so don't really won't to bring as well that the OS idle detection function could be evovled into a "smart idle detection" function as it is pointless when is enough that the program is aware and communicating to the OS that is doing work... :) |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
On widows if there are no user input for a while the system is detected on idle and go to sleep.
vcpkg
doesn't make the OS aware that is busy. So resulting in the system suspend if left just working install few long time consuming library.Proposed solution
set the vcpkg thread, at least for windows system, to keep the system awake while installing/compiling libraries.
like reported here :
SetThreadExecutionState
Describe alternatives you've considered
well, tried simple tools that rely on the function above but Win10 seems ignoring too.
So doing in chunks install, smaller batch of library install.
Additional context
It is not really a high priority feature, but would be nice to make the tool "more complete" and reliable.
thanks.
Beta Was this translation helpful? Give feedback.
All reactions