Date: Mon, 13 Jul 1998 11:24:58 +0300 (IDT) From: Eli Zaretskii To: djgpp AT delorie DOT com Subject: Re: RHIDE takes 100% cpu.. what can I do? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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%.