delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/28/09:30:25

From: Vik Heyndrickx <Vik DOT Heyndrickx AT rug DOT ac DOT be>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: To RHIDE author...
Date: Mon, 27 Oct 1997 09:38:54 +0100
Organization: University of Ghent, Belgium
Lines: 24
Message-ID: <3454531E.35BD@rug.ac.be>
References: <cktmmiqmo DOT pminews AT portb58 DOT generation DOT net>
NNTP-Posting-Host: eduserv1.rug.ac.be
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

sl wrote:
> 
> Hi ,
> 
>         I have been using RHIDE under OS/2 for a while now.. I have noticed
> to even when I give RHIDE the lowest cpu possible (IDLE_SECONDS=0,
> IDLE_SENSITIVITY=1) it will use 100% of my cpu slowing all other tasks to a
> halt. Turbo C++ uses up 5% of my cpu at best when I use it.. Is it possible
> for you to please make RHIDE "multitasking friendly"? While the user does not
> push a button you could use RELEASE_TIMESLICE() of some sort.. Please reply,
> 
> Gili

Robert Hoehne,
I think this problem is caused by the fact that RHIDE continuously is
calling the DPMI service for determining the amount of free memory when
it is idle. Adding a __dpmi_yield after doing this will probably solve
this problem, but there may be also a hatch: I think only DPMI 1.0
offers this service.

-- 
+----------------+
| Vik Heyndrickx |
+----------------+

- Raw text -


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