Re: idle state



mike7411@xxxxxxxxx wrote:
I'm trying to understand what occurs at a processor level when an OS
such as Windows is idle. Is there an assembler statement tells the
processor to take a break until an interrupt occurs or something
similar? I couldn't find it.

The "hlt" instruction does what you describe. I don't know if Windows' idle process uses it - probably. It's a "privileged" instruction, so you wouldn't be able to use it in "userland" code...

Best,
Frank
.



Relevant Pages

  • Re: Idle wont start
    ... but I am finding that IDLE has conflicts with other ... I have been running Python 2.3 under Windows ... I would blame the Ruby installer for this particular mess. ...
    (comp.lang.python)
  • how to measurewaveIn staggering
    ... detect cases when the main message loop does not idle for a long time. ... System function DialogBox creates its own message loop and my ... Windows CE they are not officially supported. ...
    (microsoft.public.pocketpc.developer)
  • Re: Learning Python
    ... Whenever I try to open new IDLE window I get the following message: ... subprocess or personal firewall software is blocking the connection." ... You need to configure your firewall to permit IDLE to make the connection. ... e.g. Windows Firewall says "To help protect your computer, ...
    (comp.lang.python)
  • Re: anyone try to slow down celeron m
    ... I mean that the Windows idle loop in all versions of Windows since 98SE is a halt instruction ... ... There used to be "CPU Cooling programs" that modified Windows by replacing the loop with a halt instruction (and the temperature of the CPU dropped sometimes dramatically -- 10 degrees C or more. ... But to the point of the original poster, so is slowing down the processor not necessary to save power/heat WHEN THE COMPUTER IS IDLE. ...
    (comp.sys.laptops)
  • Re: something is working behind screensaver
    ... screensaver shuts off, activity stops. ... "Windows XP System Idle Task Scheduler". ... Computer does not enter standby mode if Power Options profile ...
    (microsoft.public.windowsxp.general)