delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/29/15:22:30

From: Francisco Pastor <Francisco DOT Pastor AT uv DOT es>
Newsgroups: comp.os.msdos.djgpp
Subject: __dpmi_yield and WinNT
Date: Fri, 29 Oct 1999 18:43:44 +0100
Organization: Dep. de Informatica de la UV
Lines: 16
Message-ID: <3819DCD0.3A4480EA@uv.es>
NNTP-Posting-Host: lab5inf13.eleinf.uv.es
Mime-Version: 1.0
X-Trace: peque.uv.es 941219024 22679 147.156.7.34 (29 Oct 1999 17:43:44 GMT)
X-Complaints-To: postmaster AT uv DOT es
NNTP-Posting-Date: 29 Oct 1999 17:43:44 GMT
X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i586)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Helow

I have wroten a program in djgpp that run in a Windows NT DOS windows.
This program is normaly in a bussy wait loop waiting for some interrupt.
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.

It is posible to free the CPU in a bussy wait loop using another call?

Thank's

Francisco Pastor
Francisco DOT Pastor AT uv DOT es


- Raw text -


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