Release 10.1A: OpenEdge Development:
Progress 4GL Reference

> ## MULTITASKING-INTERVAL attribute

> How often Progress filters events between itself and other Windows applications.

> Data type: INTEGER

> Access: Readable/Writeable

> Applies to: SESSION system handle

> The value of the MULTITASKING-INTERVAL attribute determines how often Progress internally filters events (messages) between itself and other Windows applications. As Progress filters these events more often, it executes procedures less efficiently, but allows other windows applications more opportunity to execute. Adjusting the internal event filter is particularly useful during background processing, such as report generation.

> The default value, zero, tells Progress never to filter events internally, giving OpenEdge applications maximum access to execution resources. This is perfectly adequate for interactive OpenEdge applications that block for input often, giving other applications enough opportunity to execute.

> For values greater than zero, the lower the value, the more often Progress internally filters events, giving other applications greater opportunity to execute, but slowing down Progress execution. However, similar to a TRUE value for the IMMEDIATE-DISPLAY attribute, low non-zero values also cause Progress to refresh the display more often, potentially providing crisper display interaction. Low non-zero values also provide better interoperability with other applications, for example, using Dynamic Data Exchange (DDE).

> The maximum value you can set is 9999. In general, set this attribute greater than zero only for code segments that perform lengthy background operations, and reset it to zero before the application blocks for interactive input (for example, executes a WAIT-FOR or UPDATE statement). This attribute provides the same functionality as the MultitaskingInterval parameter in the current environment, which might be the Registry (Windows only) or an initialization file. For more information on environments, see the chapter on user interface environments in OpenEdge Deployment: Managing 4GL Applications .

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095