Re: Problem with XP scheduler?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <uv4jj555v1pdnvb08m63mcmqvg5lpa560g@xxxxxxx>, Tim Roberts <timr@xxxxxxxxx> wrote:
Grzegorz Wróbel </dev/null@xxxxxxxxxxxxxxxxxxxxx> wrote:

Tim Roberts wrote:

Get real. A software problem cannot cause your machine to lock up so hard
that even mouse and keyboard stop.

Get rational. User mode app can lock up mouse and keyboard just by
starving system processes that manage mouse and keyboard input. On the
single CPU/core machines it was very common to happen. On the multi core
machines much less likely to happen "naturally", but still possible.

No. A user mode app can certainly prevent other user mode apps from
processing mouse and keyboard input, yes, but the mouse pointer keeps
moving, and pressing the caps lock key still toggles the caps lock
indicator. Stopping those requires the "assistance" of kernel code.

That's the whole point here.
Again, mouse is the highest priority anything in windows architecture
as far as anything physical is concerned, and it is ran by the kernel.
It could, or rather should, care less what app is doing what.

It was interesting to observe that I had task manager running to see
what happens when mouse freezes, and it was a shocker to see that
after mouse freezes, one of 4 cores was loaded 100% on firefox 3.5.5,
and 3 cores went to 100% load with ff 3.5.6.

BUT. The task manager kept updating the CPU history windows.
So the kernel WAS in fact running. It was not a crash.

--
Programmer's Goldmine collections:

http://preciseinfo.org

Tens of thousands of code examples and expert discussions on
C++, MFC, VC, ATL, STL, templates, Java, Python, Javascript,
organized by major topics of language, tools, methods, techniques.

.



Relevant Pages

  • Re: Problem with XP scheduler?
    ... A software problem cannot cause your machine to lock up so hard ... User mode app can lock up mouse and keyboard just by ... machines much less likely to happen "naturally", ... A user mode app can certainly prevent other user mode apps from ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problem with XP scheduler?
    ... such as mouse or keyboard on the windows. ... Don Burn (MVP, Windows DKD) ... User mode app can lock up mouse and keyboard just by ... A user mode app can certainly prevent other user mode apps from ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problem with XP scheduler?
    ... User mode app can lock up mouse and keyboard just by ... starving system processes that manage mouse and keyboard input. ... A user mode app can certainly prevent other user mode apps from ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problem with XP scheduler?
    ... A software problem cannot cause your machine to lock up so hard ... User mode app can lock up mouse and keyboard just by ... machines much less likely to happen "naturally", ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Problem with XP scheduler?
    ... User mode app can lock up mouse and keyboard just by starving system processes that manage mouse and keyboard input. ... You can of course argue this is still "kernel code" that freezes the box, but such argumentation doesn't have much sense since this code is executed directly by user mode API calls. ...
    (microsoft.public.win32.programmer.kernel)