JPS59157754A - System for outputting simultaneously plural members to source program library - Google Patents

System for outputting simultaneously plural members to source program library

Info

Publication number
JPS59157754A
JPS59157754A JP2934183A JP2934183A JPS59157754A JP S59157754 A JPS59157754 A JP S59157754A JP 2934183 A JP2934183 A JP 2934183A JP 2934183 A JP2934183 A JP 2934183A JP S59157754 A JPS59157754 A JP S59157754A
Authority
JP
Japan
Prior art keywords
blocks
members
output
program library
source program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2934183A
Other languages
Japanese (ja)
Inventor
Kazuo Imai
今居 和男
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2934183A priority Critical patent/JPS59157754A/en
Publication of JPS59157754A publication Critical patent/JPS59157754A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To make it possible that plural members execute processings to a source program library simultaneously by providing a pointer indicating a retrieval range of unused blocks on a bit map. CONSTITUTION:The bit map manages the use state of all blocks in the program library, and blocks used for output of members are registered in the bit map after output of members. Before output of members, unused blocks are reserved on the bit map. The range of reserved blocks is stored with two pointers P1 and P2. Each time when an unused block is reserved, one pointer P2 is moved. After the output of all processing members is completed and all used maps are registered in the bit map, the pointer P1 is moved to the position of the pointer P2. Unused blocks are assigned to plural members simultaneously and exclusively. The double assignment of the same block is prevented.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、ソースプログラムライブラリの構造とその更
新方式に係り、特に一つのソースプログラムライブラリ
に同時に複数の更新要求が発生した場合に好適なライブ
ラリへの複数メンバの同時出力方式に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to the structure of a source program library and its update method, and particularly to a library suitable for when multiple update requests occur simultaneously for one source program library. Regarding the simultaneous output method of multiple members.

〔従来技術〕[Prior art]

直接アクセス装置上の複数の固定長ブロックと各ブロッ
クの使用状態を管理するビットマツプで構成される従来
のソースプログラムライブラリでは、ライブラリに同時
に複数の更新要求が発生した場合、複数のメンバに未使
用ブロックを同時にかつ排他的に割シ当ててゆくことが
できず、複数メンバな全く同時に出力することは不可能
である。このため、一つメンバの更新処理が完了するま
で他の更新要求は待ちとなるという欠点があった。
In a conventional source program library that consists of multiple fixed-length blocks on a direct access device and a bitmap that manages the usage status of each block, if multiple update requests occur to the library at the same time, unused blocks are allocated to multiple members. It is impossible to allocate simultaneously and exclusively, and it is impossible to output multiple members at exactly the same time. Therefore, there is a drawback that other update requests must wait until the update process for one member is completed.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、複数の更新要求を全く同時に処理でき
待ち状態を発生させることのないソースプログラムライ
ブラリを提供することである。
SUMMARY OF THE INVENTION An object of the present invention is to provide a source program library that can process multiple update requests at the same time without causing a waiting state.

〔発明の概要〕[Summary of the invention]

本発明は、直接アクセス装置上の複数の固定長ブロック
と各ブロックの使用状態を管理するビットマツプで構成
されるソースプログラムライブラリにおいて、ビットマ
ツプ上に未使用ブロックの検索範囲を示す二つのポイン
タを設け複数のメンバに未使用ブロックを同時にかつ排
他的に割シ当てることを可能にすることにより複数メン
バの同時出力を可能にするものである。
The present invention provides a source program library consisting of a plurality of fixed-length blocks on a direct access device and a bitmap for managing the usage status of each block. By making it possible to simultaneously and exclusively allocate unused blocks to members, simultaneous output of multiple members is made possible.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第1図により説明する。ソー
スプログラムライブラリは、固定長のブロック群、それ
を管理するビットマツプ。
An embodiment of the present invention will be described below with reference to FIG. The source program library consists of fixed-length blocks and bitmaps that manage them.

及びビットマツプ中の未使用ブロック検索可能範囲を示
す二つのポインタ(図中のPlとP2)で構成される。
and two pointers (Pl and P2 in the figure) indicating the searchable range of unused blocks in the bitmap.

ビットマツプは、ライブラリ中の全ブロックの使用状態
を管理するものであシメンバの出力時に使用したフロッ
クは、メンバ出力後ピッ)・マツプに登録する。なお一
つのメンバは一般に複数個のブロックを占有するが、メ
ンバの出力処理が中断した場合も、出力筒のブロックを
未使用状態に保つためには、ビットマツプの更新はメン
バの全ブロックの出力が完了した後に行う必要がある。
The bitmap manages the usage status of all blocks in the library, and the blocks used when outputting the member are registered in the bitmap after the member is output. Note that one member generally occupies multiple blocks, but in order to keep the blocks in the output cylinder unused even if the member's output processing is interrupted, the bitmap update requires the output of all blocks of the member to be kept in an unused state. Must be done after completion.

従って、複数のメンバの出力要求が同時に発生した場合
、ピットマツプ上で未使用のブロックを各メンバに同時
に割り当てると同一ブロックの二重割り当てになってし
まう。
Therefore, when output requests from a plurality of members occur simultaneously, if unused blocks on the pit map are allocated to each member at the same time, the same block will be double allocated.

このような不都合を解決するのが、図中の二つのポイン
タpl、pzである。即ち、メンバ出力に先立ってビッ
トマツプ上で未使用ブロックを予約し、予約中のブロッ
クの範囲を二つのポインタpt 、pzで記憶すること
により二重割り当てを防ぐことができる。未使用ブロッ
クを予約する度に一方のポインタP2を移動させ、同時
に処理していた全メンバの出力が完了し全使用ブロック
をピントマツプに登録した後、ポインタp+をP2の位
置に移動し、二つのポインタの位置を一致させる。この
ようにして、未使用ブロックを複数のメンバに同時にか
つ排他的に割り当て同時出力を可能とする。
Two pointers pl and pz in the figure solve this problem. That is, double allocation can be prevented by reserving unused blocks on the bitmap prior to member output and storing the range of the reserved blocks using two pointers pt and pz. Each time an unused block is reserved, one pointer P2 is moved, and after the output of all members being processed at the same time is completed and all used blocks are registered in the focus map, the pointer p+ is moved to the P2 position, and the two Match pointer positions. In this way, unused blocks can be simultaneously and exclusively allocated to a plurality of members and simultaneous output can be achieved.

ソースプログラムライブラリへのメンバ出力の処理手順
は、第27図の通りである。まずブロックの出力(第2
図の■)に先立って未使用ブロックの予約(第2図の■
)を行う。未使用ブロックの予約とは、複数メンバの出
力要求が同時に発生した場合、各メンバの出力に必要な
未使用ブロックをメンバどとに排他的に割り当てるため
の操作で必り、ピットマツプ上のポインタ(第1図のP
2)を移行させる。
The processing procedure for outputting members to the source program library is as shown in FIG. First, the output of the block (second
Reserve unused blocks (■ in Figure 2) before reserving unused blocks (■ in Figure 2)
)I do. Reservation of unused blocks is an operation to exclusively allocate unused blocks necessary for output of each member to each member when output requests from multiple members occur at the same time. P in Figure 1
2) will be migrated.

次に未使用ブロックの追加予約が必要かどうかを調べ(
第2図の■)、必要ならば未使用ブロックの予約とブロ
ックの出力の処理をく9返す。
Next, check whether additional reservations for unused blocks are needed (
■) in Fig. 2), if necessary, reserve an unused block and output the block.

メンバの全ブロックを出力した後、出カシたブロックを
ビットマツプに登録しく第2図の■1)さらに同時に出
力中リメンバが存在するかどう・かを調べる(第2図の
■)。同時に出力中のメンバが存在しなければ、ビット
マツプ中の二つのポインタの位置を一致させてメンバの
出力処理を終了する。
After outputting all the blocks of the member, the output block is registered in the bitmap (1) in FIG. 2. At the same time, it is checked whether there is a remember member currently being output (2 in FIG. 2). If there are no members being output at the same time, the positions of the two pointers in the bitmap are made to match, and the member output processing is completed.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数メンバの同時出力はもとよりソー
スプログラムライブラリに対するあらゆる処理を全く同
時に行うことができるので。
According to the present invention, it is possible not only to simultaneously output multiple members but also to perform all kinds of processing on the source program library at the same time.

多数のユーザが同一のソースプログラムライブラリを用
いてプログラムの修正を同時に行っても待ち状態が発生
せず効率的に作業できるという効果がある。
Even if many users use the same source program library to modify programs at the same time, there is no waiting state and they can work efficiently.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は、ソースプログラムライブラリの構造とライブ
ラリヘメンバA、Bを同時に出力する方式を示す構成図
、第2図は、ソースプログラムライブラリへのメンバの
出力の処理手順を示すブロック図である。 pr、pz・・・ポインタ。 代理人弁理士 高 橋 明 太;\ 弗  2 図
FIG. 1 is a block diagram showing the structure of a source program library and a method for simultaneously outputting members A and B to the library, and FIG. 2 is a block diagram showing a processing procedure for outputting members to the source program library. pr, pz...pointer. Representative Patent Attorney Akita Takahashi;\7 2 Figures

Claims (1)

【特許請求の範囲】[Claims] 1、 直接、アクセス装置上の複数の固定長ブロックと
各ブロックの使用状態を管理するビットマツプで構成さ
れるソースプログラムライブラリにおいて、ビットマツ
プ上に未使用ブロックの検索範囲を示す二つのポインタ
を設けたことを特徴とするソースプログラムライブラリ
への複数メンバの同時出力方式。
1. In a source program library consisting of multiple fixed-length blocks on a direct access device and a bitmap that manages the usage status of each block, two pointers are provided on the bitmap to indicate the search range for unused blocks. A method for simultaneously outputting multiple members to a source program library.
JP2934183A 1983-02-25 1983-02-25 System for outputting simultaneously plural members to source program library Pending JPS59157754A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2934183A JPS59157754A (en) 1983-02-25 1983-02-25 System for outputting simultaneously plural members to source program library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2934183A JPS59157754A (en) 1983-02-25 1983-02-25 System for outputting simultaneously plural members to source program library

Publications (1)

Publication Number Publication Date
JPS59157754A true JPS59157754A (en) 1984-09-07

Family

ID=12273527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2934183A Pending JPS59157754A (en) 1983-02-25 1983-02-25 System for outputting simultaneously plural members to source program library

Country Status (1)

Country Link
JP (1) JPS59157754A (en)

Similar Documents

Publication Publication Date Title
JPH064405A (en) Computer with extended virtual storage
JPS59157754A (en) System for outputting simultaneously plural members to source program library
EP0294499B1 (en) Control scheme for segmented buffers based on a shared reference count
JPS58164080A (en) System for managing and processing area
JPS61279959A (en) Saving and outputting system for main storage
JPS5835656A (en) Cell management controlling system
JPS6364146A (en) Logical space control system
JPH02156348A (en) Overflow area control method for plural hash tables
JPS63217426A (en) Resources management and control system
JPH0586574B2 (en)
JPS61109160A (en) Area control system for inter-system share volume
JPH0495120A (en) Data storage device assigning system
JPS5860357A (en) Controlling system for task control table
JPS63109553A (en) Memory management system
JPH02304615A (en) Allocating system for parallel disk control buffer
JPS63170746A (en) Resource management processing system
JPS63109555A (en) Dynamic conversion system for virtual storage space size
JPS63145553A (en) Memory control system with control mode
JPH03245234A (en) Memory area allocating method
JPH03225417A (en) Input/output control system for extended storage device
JPS62274420A (en) Automatic allocating system for data set
JPH02207350A (en) Common storage area allocation system
JPH02193231A (en) File space free area management system
JPH0281154A (en) Load balance system adopting i/o priority instruction
JPS62192828A (en) File space allocation system