Browse Prior Art Database

Graphical Interface Access Procedure

IP.com Disclosure Number: IPCOM000113325D
Original Publication Date: 1994-Aug-01
Included in the Prior Art Database: 2005-Mar-27
Document File: 2 page(s) / 43K

Publishing Venue

IBM

Related People

Jensen, B: AUTHOR [+3]

Abstract

Disclosed is a procedure that will delay the initialization of an Operating System/2* (OS/2) Presentation Manager* (PM) application until the PM subsystem is active. This procedure is known as the Graphical Interface Access Procedure (GIAP).

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 71% of the total text.

Graphical Interface Access Procedure

      Disclosed is a procedure that will delay the initialization of
an Operating System/2* (OS/2) Presentation Manager* (PM) application
until the PM subsystem is active.  This procedure is known as the
Graphical Interface Access Procedure (GIAP).

      When an OS/2 PM application requires graphical services, it can
utilize one of many PM interfaces to access these services.  If PM is
not active at the time an application requests PM services, problems
can occur which include application hang conditions.  To avoid this
situation, a using application should wait until PM is completely
active.

      GIAP provides a facility for applications to be signalled when
PM is active.  This facility is provided by the GIAP Signal component
which is a module that gets evoked through the OS2.INI start-up
feature.  Using the OS2.INI file keys of SYS_DLLS and LoadOneTime,
the name of the GIAP Signal transaction is placed in this file.  When
PM becomes active, OS/2 starts each DLL specified in this file using
these keys.  The GIAP Signal transaction gets control, creates and
sets a semaphore, and then goes into a program wait state.

      Applications that require PM services monitor for the presence
of the GIAP Signal semaphore.  Their design is such that PM
processing is consolidated into one or more routines that all wait
for the GIAP Signal semaphore.  The application executes a program
loop which checks for the presence...