Can one give taskmanager a higher priority when started via Ctrl-Alt-Del?

M

Michael Moser

Developing code it happens to me quite often that some process is
"running wild"and starts consuming so much CPU that even hitting
Ctrl-Alt-Del and selecting TaskManager is unable to bring up the task
manager (and hence one then can't kill that process or give it lower
priority or such).

What I find especially puzzling is this:
in several situations where the taskmanager would not show up after a
Ctrl-Alt-Del => Taskmanager I have now tried to start cmd.exe (from my
desktop icon) and then started the taskmanager from the commandline and
that DID show up! So, obviously, starting taskmanager from that
Ctrl-Alt-Del dialog absurdely enough seems to start taskmanager with a
*lower* priority that starting it from a command line... IMHO the
staskmanager should run with HIGHEST priority!

Can one change that? I.e. can one somehow configure that the
Ctrl-Alt-Del dialog starts task-manager with higher priority?

Michael
 
W

Walter Clayton

By default CAD brings up taskmgr in HIGH priority. Once an application is
launched it sets it's own default priority.

The issue isn't with taskmgr priority.
 
M

Michael Moser

Walter Clayton said:
By default CAD brings up taskmgr in HIGH priority. Once an application
is launched it sets it's own default priority.

The issue isn't with taskmgr priority.

OK - but why does Taskmanager then sometimes not show up if an
application monopolizes the CPU?

Michael
 
F

Fake

Can you have answered your own question here maybe...
If an application monopolizes the CPU it "monopolizes the CPU" ?

/Kenneth
 
W

Walter Clayton

Because if something is looping hard enough, the task switcher never gets an
opportunity to context switch.

Timeslicing requires that interrupts can be processed which means that a
given thread must at some point issue a wait of some sort, or execute an
interruptible instruction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top