TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Alexander Kuiper
from: Paul Argentoff
date: 1996-08-26 22:46:00
subject: OS/2 Executable system load ??

Once upon time, , Alexander Kuiper said Paul
Argentoff:

 MH>>>> Try putting some DosSleep(0) calls here and there.

 PA>> It's documented this way

 AK> Where is that documented?

I'd rather say "described in literature". I've got the book on
OS/2 programming called "OS/2: look from inside" by Peter Norton,
etc. I've got the Russian translation, so excuse my translation back to
English.

"You can use Dossleep() with parameter 0 when your program is supposed
to request the operating system to pass the control to another
process"

That's it.

 AK> I have DosSleep(1) for now, a higher number will decrease system load,
 AK> but decrease response of the program...

Well, it's a good solution, then ;)

WBR, Paul Argentoff

---
* Origin: ---={ Einstain was not correct. E=MC/2 }=--- (2:5021/7.3)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 5021/7 2 5020/443 79 5100/8 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.