Multiple Processes Per Address Space
Original Publication Date: 1996-Dec-01
Included in the Prior Art Database: 2005-Apr-01
Publishing Venue
IBM
Related People
Ault, DF: AUTHOR [+3]
Abstract
Disclosed is a method for multiple processes to run in the same address space. Each process runs independent of the other processes in the address space, as if it were running in its own address space.
Multiple Processes Per Address Space
Disclosed is
a method for multiple processes to run in the same
address space. Each process runs
independent of the other processes
in the address space, as if it were running in its own address space.
To solve the
problem of using too many address spaces to run
unix/POSIX like work on MVS, the OpenEdition MVS Kernel provides the
ability for multiple processes to run in the same address space.
This capability is provided in the following ways:
1.
An application can use the OpenEdition MVS services Spawn
(specifying "YES" for
the _BPX_SHAREAS environment variable),
Attach_exec and Attach_execmvs to
create a child process to
run a specific MVS or OpenEdition
MVS HFS program in the
same address space as the caller. These services accomplish
this by attaching a MVS subtask to
the MVS task of the
caller, dubbing the new task as an
OpenEdition MVS child
process of the calling process and
then transferring control
to the specified program. The child process that is created
inherits the same attributes that
a child process would
inherit after a fork and then an
exec is issued to create a
new child process. The inheritance attributes of the child
can be altered by use of the spawn
service, which allows
the remapping of file descriptors,
setting of...