Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

Sharing Memory Resources without Requiring DosGiveSeg

IP.com Disclosure Number: IPCOM000108212D
Original Publication Date: 1992-May-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 1 page(s) / 50K

Publishing Venue

IBM

Related People

Cox, DR: AUTHOR [+3]

Abstract

This article describes a method for sharing segments across many processes in OS/2* applications without requiring giving these segments to each process which will need to access it. There is no way to share memory segments across many processes in OS/2 applications without requiring an owning process to give access to each process which requires it.

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

Sharing Memory Resources without Requiring DosGiveSeg

       This article describes a method for sharing segments
across many processes in OS/2* applications without requiring giving
these segments to each process which will need to access it.  There
is no way to share memory segments across many processes in OS/2
applications without requiring an owning process to give access to
each process which requires it.

      This is done using the DosGiveSegAPI.  In OfficeVision*/2
(OV/2) applications, which are object oriented in nature, the
application does not always know which processes will need access to
shared memory.  There should be a way to allow any number of
processes to share memory, without having to explicitly give them
access.  The processes which wish to share the memory may not even
exist when the memory pool is being established.

      In order to overcome this and other related memory problems in
the application system, OV/2 Office built a Memory Management
subsystem, providing a layer of independence between application
programs and the OS/2 operating system.  This subsystem is described
in the preceding article.  Using this subsystem as a base for solving
the segment sharing problem, the system to allocate shared memory
both "Giveable" and Getable" was enhanced. When allocating shared
memory in OS/2, the caller may set a "Giveable" or "Getable" bit
before making the DosAllocSeg request.  This bit determines how the
memory can be shared ac...