Signal and Exception Handling

OS/2 Version 2.0 removes the function handling signals and combines signal handling with hardware exception handling, providing a more unified approach that allows greater flexibility.

Table "Exception Handling Functions"

The DosSetKBDSigFocus() function is used to allow 32-bit programs to inform the operating system that they are "primed for signals", although the signals are dispatched as exceptions.

Note the following:

  • 16-bit DosSetVec() exceptions are supported under OS/2 Version 2.0.

  • The 32-bit OS/2 Version 2.0 exception manager allows per-thread exception handling.

  • OS/2 Version 2.0 does not allow an exception handler to be registeed for the numeric processor exception (NPX).


    [Back: Task Management]
    [Next: Interprocess Communication]