Home

Getting Started

Utilities

Indexing

Omnidex

Development

Tutorials

Quick Links

 

Appendix

Software Interrupts

Software Timeouts

 

Appendix

 

The Software Interrupts feature provides support in Omnidex for signal interrupts. Omnidex sets a flag when an interrupt signal is received. This flag is checked at various points in each OmniAccess routine, and when detected, causes the routine to immediately exit with a status condition indicating an interrupt has occurred.

Interrupt signals are sent through user interaction. Control + i on MPE and Control + c on all other platforms will send an interrupt signal to Omnidex.

By default, the Software Interrupts feature is enabled but can be disabled by passing an option during the CONNECT.

The signal handler is enabled and disabled at the beginning and end of each OmniAccess routine. Therefore, OmniAccess will not catch signals sent outside of an OmniAccess routine. (An exception to this is with OdxSQL, which performs its own signal handling)

Syntax:

INTERRUPTS=<ON | OFF>

Example:

INTERRUPTS=ON

Not all of the underlying databases and services called by OmniAccess support signal interrupts. As a result, an interrupt may be delayed a significant amount of time while waiting for the underlying service to complete.

 

Top