Mail Archives: djgpp/1997/10/28/09:30:25
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 -