Re: xpe ntvdm.exe 100% processor use

From: KM (konstmor_at_nospam_yahoo.com)
Date: 11/01/04


Date: Mon, 1 Nov 2004 11:20:51 -0800

alex,

I am not sure what your question is about.
Do you see the same behavior if you run your app under XP Pro?

The 100% CPU usage is fairly common with 16-bit programs (ntvdm) under NT/2K/XP. Normally it results from a program sitting in a
loop and polling the keyboard. In fact it may not be using or needing the CPU time but because it preempts the 'idle process' it is
seen as using all the processor time.

-- 
 Regards,
        KM, BSquare Corp.
> i want to run on clipper aplicattion and the use cpu itīs 100% . Itīs
> possible one solution for this?, Regard, Alejandro Ludeņa


Relevant Pages

  • Re: Changing process priority
    ... How do I make sure a simple whileloop ... doesn't consume half my CPU? ... Though sometimes there is a "idle process" that runs ... an infinite loop consuming all leftover CPU time, ...
    (comp.lang.c)
  • Re: Detecting computer inactivity
    ... You use very little CPU time for such polling. ... Do not use a loop, ... instead a Timer (or you could use a loop in a thread, ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Continuous loop handling
    ... > monitor the hardware input in a while loop. ... Tough my gui is active by this ... Is there a way to free up the cpu time ... Sleep somewhere inside your loop. ...
    (microsoft.public.vc.mfc)
  • Re: How Do I Use An SSLServerSocket With ServerSocketChannel?
    ... it's Java 5.0 or give up. ... endless loops of reading a socket and writing to the other one while ... loop and when it does a ServerSocket.accept, it goes into the inner loop ... isn't that going to steal a lot of CPU time ...
    (comp.lang.java.help)
  • Re: MSDN volatile sample
    ... A thread running in a tight loop with Sleepwill consume all remaining ... CPU time, AND won't let lower priority background threads to run. ... You mean Sleepwill consume 100% CPU time? ...
    (microsoft.public.vc.language)