delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/02/12:56:22

From: "Francisco Pastor Gomis" <Francisco DOT Pastor AT uv DOT es>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: __dpmi_yield and WinNT
Date: Tue, 2 Nov 1999 09:47:00 +0100
Organization: Telefonica Transmision de Datos
Lines: 34
Message-ID: <7vm851$pp6$1@talia.mad.ttd.net>
References: <3819DCD0 DOT 3A4480EA AT uv DOT es> <Pine DOT SUN DOT 3 DOT 91 DOT 991031095902 DOT 2988Y-100000 AT is>
NNTP-Posting-Host: ppp177.aimme.es
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii escribió en mensaje ...
>
>On Fri, 29 Oct 1999, Francisco Pastor wrote:
>
>> The problem is that this program use a lot of CPU time. I have tried to
>> use the _dpmi_yield service to free the CPU but contiue using all the
>> CPU procesor.
>
>How do you know it still uses all the CPU time?  __dpmi_yield does
>work for me on NT.  I just tried two DJGPP programs that call it
>in their idle loop, and the NT Task Manager didn't show any CPU load
>above the usual 10%.


__dpmi_yield seems like well in OK in Win98, but in WinNt, when I run may
program in a DOS command window, it appear a process called NTVDM that spend
all the CPU (not the procees related to the command prompt that spend no CPU
time in the NT Task Manager).
When the program is in backgroud, I feel that the system run slowly.

>Which version of NT do you have installed?

My version is Win NT 4.01, Service Pack 5.

Thank's for all.

Francisco Pastor
Francisco DOT Pastor AT uv DOT es





- Raw text -


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