Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is there anyway to handle the forced exit of an application by task manager?

application forced manager Task
0
Posted

Is there anyway to handle the forced exit of an application by task manager?

0

A. Bob Stanneveld Quoted :- As far as I know, you canno’t stop the taskmanager from killing your app. The reason for this is how the task manager terminates the application. The TM achieves this by cleaning up all resources of the process (just like a normal termination, but without notification.) Let me elaborate: Windows manages the CPU time that is given to a process / thread with certain queues. If a process is able to run (Ready 2 Run, R2R), it waits in a queue until it gets CPU time. If the process / thread is blocked, it waits somewhere else until it becomes R2R. After getting that state, it is placed in the queue. The taskmanager removes the process handle from this system, so the process will not get any CPU time anymore. After doing that, windows will clean up all the resources user by that process (as much as it can). So your process just disappears without any notification. Hope this helps Tom Archer Quoted :- Here’s some interestnig reading for you to understand what’s goi

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123