cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/13/04:26:23

Date: Mon, 13 Jul 1998 11:24:58 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: djgpp AT delorie DOT com
Subject: Re: RHIDE takes 100% cpu.. what can I do?
In-Reply-To: <uTg4eWfr9GA.262@upnetnews05>
Message-ID: <Pine.SUN.3.91.980713112428.323R-100000@is>
MIME-Version: 1.0

On Sun, 12 Jul 1998, DeHackEd wrote:

> Are you checking Windows95's System monitor? forget it. Almost ANY
> DOS program will give 100% except for the DOS prompt itself.

This is only true if the program polls the keyboard in a tight loop,
and doesn't call __dpmi_yield when it's idle (i.e., when the polling
returns with an empty indication).

For example, the DJGPP ports of Less, Info, and Emacs--all of them
interactive DOS programs which poll the keyboard--impose a negligible
load on Windows, even as far as System Monitor is concerned, because
they *do* call __dpmi_yield in their keyboard loop.  For example, I
have both Emacs and Info idling as I type this, and the system load is
less than 1%.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019