Consultor Eletrônico



Kbase 13330: What is SESSION:MULTITASKING-INTERVAL in progress.ini
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   19/11/1999
What is SESSION:MULTITASKING-INTERVAL in progress.ini

In order to allow other MS-Windows tasks to have some CPU
time, you mustadjust the MULTITASKING-INTERVAL in the
Progress.ini file. This value is usedto adjust how
co-operative PROGRESS is in the MS_WIndows environment. If
it isset to 0 then Progress will "hog" CPU time and run
very fast. A higher numberwill allow more multi-tasking.

If you are doing a long processing loop such as:

DEF VAR i AS INT.
DO i = 1 TO 1000:
<calculate something>.
END.

The PROGRESS V7 session will hog the CPU under Windows for
that entire time. There are many work arounds to this:

1. Set MULTITASKING-INTERVAL to something other than 0 in
the PROGRESS.INI file. (50 is a good number).
2. Set SESSION:MULTITASKING-INTERVAL to something other
than 0 in the 4GL code. 3. Run the long processing loop in
batch mode4. Pepper the long processing loop with PROCESS
EVENTS statements.


Progress Software Technical Support Note # 13330