Message-ID: <001401bf4b8f$6e2ca790$293f8589@gv015029.bgo.nera.no> From: "Gisle Vanem" To: Subject: Re: decrease cpu usage from 100% in idle state Date: Tue, 21 Dec 1999 09:43:11 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 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