ILE C/C++ Run-Time Library Functions

Asynchronous Signal Model

The Asynchronous Signal Model (ASM) is used when the SYSIFCOPT(*ASYNCSIGNAL) option is specified on the the compilation. It is inteded for campatibility with applications ported from the UNIX operating system. In the ASM model, the signal() and raise() functions are implemented using the OS/400 Signal APIs described in the API topic under the Programming heading in the Information Center.

OS/400 exceptions sent to an ASM program are converted to asynchronous signals. The exceptions are processed by an asynchronous signal handler

Modules compiled to use the ASM can be intermixed with modules using the Original Signal Model (OSM) in the same processes, programs, and service programs. This is true even when SYSIFCOPT(*ASYNCSIGNAL) is not specified on the compilation command for programs compiled with the OSM. There are several differences between the two signal models:


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]