cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/12/21/05:47:43

Message-ID: <001401bf4b8f$6e2ca790$293f8589@gv015029.bgo.nera.no>
From: "Gisle Vanem" <gvanem AT eunet DOT no>
To: <djgpp AT delorie DOT com>
Subject: Re: decrease cpu usage from 100% in idle state
Date: Tue, 21 Dec 1999 09:43:11 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

Nicola Bortolotti <nbsoft AT hotpop DOT com> said:


>is it possible to decrease CPU usage in idle state (e.g. while waiting for
>an input) in a multitasking environment (e.g. Windows DosBox).
>In other words: something similar to Clipper's Nanforum Library FT_Idle()
>and FT_IAmIdle() functions?


Using __dpmi_yield() in a Windows-NT DOS-box helps alot. I assume
it does the trick also for Win-9x and OS/2.

Gisle V

- Raw text -


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