TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Marcio Alexandre
from: Geert Bosch
date: 1994-08-06 13:00:00
subject: Compiler recommendations

Marcio Alexandre wrote in a message to Clark Hill:

 MA>  The patch BP-OS2.* works great, but there *IS* an unsolved
 MA> problem that  makes this patch hardly usable: all
 MA> application compiled with this patch  overloads CPU !! The
 MA> applications generated are CPU hogs, and if you open  PULSE
 MA> you'll see your CPU usage at 100%, no falls..

The Borland Pascal IDE itself does not release CPU cycles, so that may be
giving you a high CPU-load. You should use blocking I/O calls while waiting
for input, then your app will not use any CPU time. Since you can call OS/2
functions, this shouldn't be hard to do. Don't use WHILE NOT KeyPressed DO
style programming in a multitasking OS!! (Not even if your program is a
DOS-app running in a DOS-Window!)

Groetjes, Geert 
--- timEd/2 1.01.g1+


* Origin: OS/2: Outselling NT, all Unixes & System 7 combined! (2:283/307.40)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 413 430
SEEN-BY: 711/807 808 809 934 942 712/353 623 713/888 800/1
@PATH: 283/307 7 35 512 280/801 24/24 396/1 3615/50 229/2
@PATH: 12/2442 711/409 54/54 711/808 809 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™.