Mail Archives: djgpp/1999/11/02/12:56:22
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 -