Browse Prior Art Database

Ctrl+break Signal Handler for the IBM OS/2 Extended Edition Database Manager

IP.com Disclosure Number: IPCOM000034842D
Original Publication Date: 1989-Apr-01
Included in the Prior Art Database: 2005-Jan-27
Document File: 1 page(s) / 12K

Publishing Venue

IBM

Related People

Elliott, LC: AUTHOR [+2]

Abstract

This disclosure discusses the C signal-handling routine that the OS/2 EE Database Manager provides and the reasons for providing it. IBM OS/2 allows the computer end-user to signal to an application via two keystroke sequences: Ctl + Break or Ctl + C. Optionally, an application can be written to receive the signal via an asynchronous signal-handling routine. However, if the application does not supply one, OS/2 takes the default action of terminating the application task. If the termination happens while the application is connected to an OS/2 EE Database Manager database, the application is disconnected from the database. If the Database Manager is operating on a request for the application, all other applications are disconnected from the database.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 68% of the total text.

Page 1 of 1

Ctrl+break Signal Handler for the IBM OS/2 Extended Edition Database Manager

This disclosure discusses the C signal-handling routine that the OS/2 EE Database Manager provides and the reasons for providing it. IBM OS/2 allows the computer end-user to signal to an application via two keystroke sequences: Ctl + Break or Ctl + C. Optionally, an application can be written to receive the signal via an asynchronous signal-handling routine. However, if the application does not supply one, OS/2 takes the default action of terminating the application task. If the termination happens while the application is connected to an OS/2 EE Database Manager database, the application is disconnected from the database. If the Database Manager is operating on a request for the application, all other applications are disconnected from the database. The OS/2 EE Database Manager provides a callable interface which installs a default signal handler for the Ctrl+Break and Ctrl+C signals. The application merely calls the install signal handler function once before any other database operations. The signal handler which is installed by the callable interface provides a minimal function. It resets the signal received and invokes the Database Manager INTERRUPT command, which causes the application to be rolled back to its previous commit point. Thus, the signal handler provided is used by those applications which do not have other requirements for interrupt signal handling but wish to avoid th...