Browse Prior Art Database

Continuous Execution Emulation

IP.com Disclosure Number: IPCOM000108861D
Original Publication Date: 1992-Jun-01
Included in the Prior Art Database: 2005-Mar-23
Document File: 1 page(s) / 73K

Publishing Venue

IBM

Related People

Lennon, CJ: AUTHOR [+4]

Abstract

Disclosed is a methodology by which applications executing in a multi-tasking environment can efficiently share data through the use of shared memory.

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

Continuous Execution Emulation

      Disclosed is a methodology by which applications executing in a
multi-tasking environment can efficiently share data through the use
of shared memory.

      The most efficient way to share data among applications is
shared memory.  To do this, an application needs to be started,
shared memory created and, when the work is done, the application
needs to be either cancelled or stopped through a command interface.
The development effort for this type of application can be sizeable
and, therefore, many designers will choose an easier solution such as
sharing data among applications using a common data file. But with
file I/O comes a performance hit because file I/O is much slower than
memory access.  In order to solve this problem, the Continuous
Execution Emulation methodology was created.

      The Continuous Execution Emulation describes a methodology by
which a small application is started that allocates a segment of
shared memory.  After this successfully occurs, the program creates a
semaphore, sets it and then waits on it.  When the semaphore is freed
by another application, the application waiting on the semaphore
continues execution, frees the shared memory segment and terminates.
The semaphore is freed by another application when it is determined
that the applications sharing the memory have completed their task
and will no longer need the memory.  This allows the shared memory to
be held by a very small program...