Article View: comp.os.os2.programmer.tools
Article #27Re: emx/gcc problem
From: dlyon
Date: Thu, 14 Dec 1995 00:00
Date: Thu, 14 Dec 1995 00:00
34 lines
2204 bytes
2204 bytes
In <4aeof0$v8t@quandong.itd.adelaide.edu.au>, joswig@achilles.cs.adelaide.edu.au (Paul Joswig) writes: >I haven't yet used any compilers under OS/2 except gcc/emx. I wrote a >program to help solve a puzzle in a game, invloving moving some >bishops on a chess like board. Anyway, it was a CPU intensive program >that ran for say 30 seconds on my machine. Now, the weird thing is >this... normally I find that when I move focus away from a running >program that it's priority drops and hence it slows a little; well, at >least if something else is running at the same time. Now, with my >program running in a window, it ran MUCH faster when I moved the focus >from the window. I mean the output scrolled at least twice as fast. >Also, the WPS shell became unusable because, I assume, the program was >stealing all the CPU. This was weird! Can anyone enlighten me? This could be whats happening. (?) OS/2 definitly slows foreground tasks right down when you move to another task however, except repaints of windows are deemed to be lower in priority than the running of the program. The result is that the program might be running fast, but the updating of the display happens at a more leisurely rate (a different concept than windows which slows everything down, so that it can "appear" fast) If a window is partially covered, then the updating or repainting can happen faster, so the program looks like it is working faster, even if it's not. This is particularly apparent where you run 256color display, as there is a lot of graphics work to do. Regards David Lyon Hotwire Business Systems
Technical Details
Message-ID:
<4ap3bb$e38@warp.ipacific.net.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<4aeof0$v8t@quandong.itd.adelaide.edu.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10a752,4b4e1da014a3370a X-Google-Attributes: gid10a752,public X-Google-Thread: 1049cc,4b4e1da014a3370a X-Google-Attributes: gid1049cc,public From: dlyon@ipacific.net.au Subject: Re: emx/gcc problem Date: 1995/12/14 Message-ID: <4ap3bb$e38@warp.ipacific.net.au> X-Deja-AN: 121814452 references: <4aeof0$v8t@quandong.itd.adelaide.edu.au> organization: Intercom Pacific Pty Ltd, Australia, +612 281-1111 reply-to: dlyon@ipacific.net.au newsgroups: comp.os.os2.programmer.tools,aus.computers.os2