-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Suggestion] Suspend/Resume process easier #146
Comments
@goldenhashtag, what items do you suspend / resume? can you give more of your scenario when you use this? |
Usually I suspend game processes when I don't want to play it right away but want to keep the game status (like in mid of boss fight, where game won't allow you to save). Suspending a game process reduces unnecessary resource usage which is especially important on a laptop/tablet. Without handy method to suspend/resume a process I only suspend one when I'm sure I won't use it for a long time (for hours), but with capability of suspending/resuming easier, I can suspend any process I'm not using, even for a brief moment (Fiddler for example, I may use it any time but for the time i'm not using it, it still takes CPU time). |
for chrome, i get it loves RAM but as long as that love doesn't inhibit other things on the system, is that a bad thing? if we bring something like this up, i'm heavily worried about being blamed for any suspending issues for instability. Your game scenario, if it doesn't resume properly, PowerToys gets blamed for the failure. |
Closing against #142 bucket. Same reasoning for closing #142. On discussing this, the reason we cannot suspend arbitrary Win32 apps is because they are not isolated from one another (all full trust); they share named objects, can access same files without broker, free window messaging, etc. One example is if you suspend an app that is holding a file open. With UWP, we can find the app that has it and shut it down (it has saved state). With Win32, if you caught the app at the wrong time (opened the file and hasn’t closed yet), the foreground app will fail to get access to the file. if you suspend something with sysinternals, you're putting your system at risk for instability |
@rcmaehl Would you be able to share your example code? (yes, I understand the risk of instability etc) |
Whoops. We were accidentally deploying all the extension packages to the _same_ directory. That meant we could only ever register one at a time - including the extension host. yikes.
Currently the only way to suspend / resume a process is by using Resource Monitor. Maybe add something like "right click on X to suspend process" and auto-resume it when its windows gets restored ?
"7 Sidebar" had achieved something similar, but it's too dated.
The text was updated successfully, but these errors were encountered: