JP3036468B2 - Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program - Google Patents

Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program

Info

Publication number
JP3036468B2
JP3036468B2 JP9167804A JP16780497A JP3036468B2 JP 3036468 B2 JP3036468 B2 JP 3036468B2 JP 9167804 A JP9167804 A JP 9167804A JP 16780497 A JP16780497 A JP 16780497A JP 3036468 B2 JP3036468 B2 JP 3036468B2
Authority
JP
Japan
Prior art keywords
request
task
shared resource
exclusive control
control processing
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.)
Expired - Fee Related
Application number
JP9167804A
Other languages
Japanese (ja)
Other versions
JPH1115683A (en
Inventor
文雄 前畑
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP9167804A priority Critical patent/JP3036468B2/en
Publication of JPH1115683A publication Critical patent/JPH1115683A/en
Application granted granted Critical
Publication of JP3036468B2 publication Critical patent/JP3036468B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は排他制御処理装置及
び排他制御処理方法並びに排他制御処理プログラムを記
憶した記憶媒体に関し、特に複数のホストコンピュータ
が排他制御処理装置に対して共有資源の使用権の獲得を
要求し、共有資源の利用を行う並列処理システムの排他
制御処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exclusive control processing device, an exclusive control processing method, and a storage medium storing an exclusive control processing program. The present invention relates to an exclusive control processing device of a parallel processing system that requests acquisition and uses shared resources.

【0002】[0002]

【従来の技術】従来、この種の並列処理システムにおい
ては、複数のホストコンピュータが共有資源を使用する
場合、他のホストコンピュータから当該資源が使用され
ないように排他制御を行う必要がある。
2. Description of the Related Art Conventionally, in a parallel processing system of this type, when a plurality of host computers use a shared resource, it is necessary to perform exclusive control so that the resource is not used by another host computer.

【0003】複数のホストコンピュータ各々に対して共
有資源の排他制御を行う排他制御処理装置では、各ホス
トコンピュータが排他制御、すなわち共有資源の使用権
の獲得(以下、共有資源のロックとする)を排他制御処
理装置に対して要求する際、その共有資源のロックを要
求するホストコンピュータ内のプロセス、タスクあるい
はスレッド等と呼ばれる処理単位の実体名にてこれを要
求する必要がある。
In an exclusive control processing device that performs exclusive control of a shared resource for each of a plurality of host computers, each host computer performs exclusive control, that is, acquisition of the right to use the shared resource (hereinafter, referred to as lock of the shared resource). When making a request to the exclusive control processing device, it is necessary to make a request using the entity name of a processing unit called a process, task or thread in the host computer which requests the lock of the shared resource.

【0004】上記の共有資源の排他制御については、特
開平7−84851号公報に開示されている。この公報
記載の排他制御では、共有データをスレッド毎に仮想空
間の異なる領域に割付け、その領域の識別子を与える手
段と、その識別子を通して共有データにアクセスする手
段と、対応するスレッドの処理に応じたロックをその領
域に設定し、行われたアクセスの種類によりそのロック
の種類を変更する手段と、同じ共有データに対する複数
のスレッドのロックの要求を調停する手段とを有してい
る。
The exclusive control of the above-mentioned shared resources is disclosed in Japanese Patent Application Laid-Open No. 7-84851. In the exclusive control described in this publication, shared data is allocated to different areas of the virtual space for each thread, means for giving an identifier of the area, means for accessing the shared data through the identifier, and processing according to the corresponding thread. It has means for setting a lock in the area and changing the lock type according to the type of access performed, and means for arbitrating lock requests of a plurality of threads for the same shared data.

【0005】[0005]

【発明が解決しようとする課題】上述した従来の共有資
源の排他制御では、同じホストコンピュータ内の異なる
複数のタスク等が同一の共有資源の共有ロックを要求す
る場合でも個々のタスク単位にロック要求を行う必要が
ある。
In the above-described conventional exclusive control of shared resources, even when a plurality of different tasks in the same host computer request a shared lock of the same shared resource, a lock request is made for each individual task. Need to do.

【0006】そのため、非常に多くの処理が発生し、処
理のオーバヘッドが問題となっている。特に、この問題
はホストコンピュータとの間でチャネル接続を行う方式
の排他制御処理装置において顕著となっている。
[0006] Therefore, a very large number of processes occur, and the overhead of the process is a problem. In particular, this problem is remarkable in an exclusive control processing device of a system for performing channel connection with a host computer.

【0007】また、仮想ロック機能を用いてロック制御
を行った時、1つの仮想ロック要求が多大な時間を占有
し続けることがある。
When lock control is performed using the virtual lock function, one virtual lock request may continue to occupy a large amount of time.

【0008】そこで、本発明の目的は上記の問題点を解
消し、同じホストコンピュータ内の異なる複数のタスク
等が同一の共有資源の共有ロックを要求する場合でも、
処理のオーバヘッドを低下させることができ、排他制御
機能の大幅な性能向上を図ることができる排他制御処理
装置及び排他制御処理方法並びに排他制御処理プログラ
ムを記憶した記憶媒体を提供することにある。
[0008] Therefore, an object of the present invention is to solve the above-mentioned problem, and even when a plurality of different tasks in the same host computer request a shared lock of the same shared resource,
An object of the present invention is to provide an exclusive control processing device, an exclusive control processing method, and a storage medium storing an exclusive control processing program, which can reduce processing overhead and can greatly improve the performance of an exclusive control function.

【0009】[0009]

【課題を解決するための手段】本発明による排他制御処
理装置は、複数のホストコンピュータと、前記複数のホ
ストコンピュータが共通に使用する共有資源とを含む並
列処理システムの排他制御処理装置であって、前記複数
のホストコンピュータ各々からの前記共有資源の使用権
の獲得要求が前記複数のホストコンピュータ各々の実タ
スクによる前記共有資源の使用権の獲得要求と前記複数
のホストコンピュータ各々の異なる複数の実タスクによ
る同一の共有資源の使用権の獲得要求が一つの獲得要求
として送出される仮想タスクによる前記共有資源の使用
権の獲得要求とのうちのいずれかを識別する識別手段
と、前記実タスクによる前記共有資源の使用権の獲得要
求と前記仮想タスクによる前記共有資源の使用権の獲得
要求とを夫々入力順に蓄積するロック管理テーブルと、
前記識別手段で前記実タスクによる前記共有資源の使用
権の獲得要求と識別された時に前記ロック管理テーブル
の内容を基に前記実タスクによる前記共有資源の使用権
の獲得要求を管理する実タスク処理手段と、前記識別手
段で前記仮想タスクによる前記共有資源の使用権の獲得
要求と識別された時に前記ロック管理テーブルの内容を
基に前記仮想タスクによる前記共有資源の使用権の獲得
要求を管理する仮想タスク処理手段と、前記仮想タスク
による獲得要求で前記使用権が獲得された共有資源に対
して他のコンピュータからの獲得要求が発生する際に当
該仮想タスクによる獲得要求を出力したホストコンピュ
ータに当該共有資源の一時開放を要求するアンロック要
求を通知しかつ当該アンロック要求が不要となった時に
アンロック不要を通知するアテンション管理手段とを備
えている。
An exclusive control processing apparatus according to the present invention is an exclusive control processing apparatus for a parallel processing system including a plurality of host computers and a shared resource commonly used by the plurality of host computers. The request to acquire the right to use the shared resource from each of the plurality of host computers is a request to acquire the right to use the shared resource by the real task of each of the plurality of host computers; An identification means for identifying any one of a request for acquiring the right to use the same shared resource by the virtual task and a request for acquiring the right to use the same shared resource by the task; And a request for acquiring the right to use the shared resource by the virtual task in the order of input. And lock management table to accumulate,
A real task process for managing a request to acquire the right to use the shared resource by the real task based on the contents of the lock management table when the identification means identifies the request to acquire the right to use the shared resource by the real task; Means for managing a request to acquire the right to use the shared resource by the virtual task based on the contents of the lock management table when the request is identified as a request to acquire the right to use the shared resource by the virtual task. Virtual task processing means, and the virtual task
The shared resource for which the use right has been acquired by the acquisition request by
When an acquisition request from another computer occurs.
The host computer that has output the acquisition request by the virtual task
Unlock request that requests the data to temporarily release the shared resource.
Request and unlock request is no longer required
Attention management means for notifying that unlocking is unnecessary .

【0010】本発明による排他制御処理方法は、複数の
ホストコンピュータと、前記複数のホストコンピュータ
が共通に使用する共有資源とを含む並列処理システムの
排他制御処理方法であって、前記複数のホストコンピュ
ータ各々からの前記共有資源の使用権の獲得要求が前記
複数のホストコンピュータ各々の実タスクによる前記共
有資源の使用権の獲得要求と前記複数のホストコンピュ
ータ各々の異なる複数の実タスクによる同一の共有資源
の使用権の獲得要求が一つの獲得要求として送出される
仮想タスクによる前記共有資源の使用権の獲得要求との
うちのいずれかを識別するステップと、前記実タスクに
よる前記共有資源の使用権の獲得要求と前記仮想タスク
による前記共有資源の使用権の獲得要求とを夫々入力順
に蓄積するステップと、前記実タスクによる前記共有資
源の使用権の獲得要求と識別された時に前記獲得要求の
蓄積内容を基に前記実タスクによる前記共有資源の使用
権の獲得要求を管理するステップと、前記仮想タスクに
よる前記共有資源の使用権の獲得要求と識別された時に
前記獲得要求の蓄積内容を基に前記仮想タスクによる前
記共有資源の使用権の獲得要求を管理するステップと
前記仮想タスクによる獲得要求で前記使用権が獲得され
た共有資源に対して他のコンピュータからの獲得要求が
発生する際に当該仮想タスクによる獲得要求を出力した
ホストコンピュータに当該共有資源の一時開放を要求す
るアンロック要求を通知しかつ当該アンロック要求が不
要となった時にアンロック不要を通知するステップとを
備えている。
An exclusive control processing method according to the present invention is an exclusive control processing method for a parallel processing system including a plurality of host computers and a shared resource commonly used by the plurality of host computers. The request for acquiring the right to use the shared resource from each is a request for acquiring the right to use the shared resource by the real task of each of the plurality of host computers, and the same shared resource by the plurality of different real tasks of each of the plurality of host computers. Identifying a request to acquire the right to use the shared resource by the virtual task, wherein the request to acquire the right to use the shared resource is sent as one acquisition request; and a right to use the shared resource by the real task. And a request to acquire the right to use the shared resource by the virtual task in the order of input. Managing the request to acquire the right to use the shared resource by the real task based on the accumulated content of the acquisition request when the request is identified as the request to acquire the right to use the shared resource by the real task; and Managing a request to acquire the right to use the shared resource by the virtual task based on the accumulated content of the acquisition request when the request is identified as a request to acquire the right to use the shared resource by a task ;
The use right is acquired by the acquisition request by the virtual task;
Request from another computer for shared resources
The acquisition request was output by the virtual task when it occurred
Request the host computer to temporarily release the shared resource
Is notified and the unlock request is
Notifying that unlocking is unnecessary when it becomes necessary .

【0011】本発明による排他制御処理プログラムを記
憶した記憶媒体は、複数のホストコンピュータと、前記
複数のホストコンピュータが共通に使用する共有資源と
を含む並列処理システムの排他制御処理プログラムを記
憶した記憶媒体であって、前記排他制御処理プログラム
は前記複数のホストコンピュータ各々からの前記共有資
源の使用権の獲得要求の排他制御を行う排他制御手段
に、前記複数のホストコンピュータ各々からの前記共有
資源の使用権の獲得要求が前記複数のホストコンピュー
タ各々の実タスクによる前記共有資源の使用権の獲得要
求と前記複数のホストコンピュータ各々の異なる複数の
実タスクによる同一の共有資源の使用権の獲得要求が一
つの獲得要求として送出される仮想タスクによる前記共
有資源の使用権の獲得要求とのうちのいずれかを識別さ
せ、前記実タスクによる前記共有資源の使用権の獲得要
求と前記仮想タスクによる前記共有資源の使用権の獲得
要求とを夫々入力順に蓄積させ、前記実タスクによる前
記共有資源の使用権の獲得要求と識別された時に前記獲
得要求の蓄積内容を基に前記実タスクによる前記共有資
源の使用権の獲得要求を管理させ、前記仮想タスクによ
る前記共有資源の使用権の獲得要求と識別された時に前
記獲得要求の蓄積内容を基に前記仮想タスクによる前記
共有資源の使用権の獲得要求を管理させ、前記仮想タス
クによる獲得要求で前記使用権が獲得された共有資源に
対して他のコンピュータからの獲得要求が発生する際に
当該仮想タスクによる獲得要求を出力したホストコンピ
ュータに当該共有資源の一時開放を要求するアンロック
要求を通知させかつ当該アンロック要求が不要となった
時にアンロック不要を通知させている。
A storage medium storing an exclusive control processing program according to the present invention is a storage medium storing an exclusive control processing program for a parallel processing system including a plurality of host computers and a shared resource commonly used by the plurality of host computers. The exclusive control processing program is a medium, wherein the exclusive control processing program performs exclusive control of a request to acquire the right to use the shared resource from each of the plurality of host computers. The request for obtaining the right to use is a request for obtaining the right to use the shared resource by the real task of each of the plurality of host computers, and the request for obtaining the right to use the same shared resource by the plurality of different real tasks of each of the plurality of host computers. Acquisition of the right to use the shared resource by a virtual task sent as one acquisition request Request and the request for acquiring the right to use the shared resource by the real task and the request for acquiring the right to use the shared resource by the virtual task are stored in the order of input, and When the request for acquiring the right to use the shared resource is identified, the request for acquiring the right to use the shared resource by the real task is managed based on the accumulated contents of the request for acquiring the right to use the shared resource by the virtual task. A request for acquiring the right to use the shared resource by the virtual task based on the accumulated contents of the acquisition request when the virtual task
To the shared resource for which the use right has been acquired
When an acquisition request from another computer occurs
The host computer that has output the acquisition request by the virtual task
Unlock requesting the computer to temporarily release the shared resource
Notify the request and the unlock request is no longer needed
At times, the user is notified that unlocking is unnecessary .

【0012】すなわち、本発明の仮想ロックタスク方式
の排他制御処理装置は、タスク管理において、夫々のホ
ストコンピュータ内のタスクあるいはスレッド等と呼ば
れる実処理単位(以下、実タスクとする)による共有資
源のロック管理とは別に、同一ホストコンピュータ内の
異なる複数の実タスク等が同一の共有資源の共有ロック
を要求する際に実タスクにてこれを要求せずに、ホスト
コンピュータを代表する仮想タスクによるロック要求に
よって行うための仮想タスク処理手段と、実タスクによ
るロック要求と仮想タスクによるロック要求とを夫々別
々に管理するためのロック管理テーブルと、ロック要求
元が実タスクであるかまたは仮想タスクであるかをタス
ク名称あるいはコマンドによって識別するタスク識別手
段とを有している。
That is, the virtual lock task type exclusive control processing device of the present invention manages a shared resource by a real processing unit (hereinafter, referred to as a real task) called a task or a thread in each host computer in task management. Separately from lock management, when a plurality of different real tasks in the same host computer request a shared lock of the same shared resource, the lock is not required by the real task but is locked by the virtual task representing the host computer. Virtual task processing means for performing a request, a lock management table for separately managing a lock request by a real task and a lock request by a virtual task, and a lock request source being a real task or a virtual task And a task identification means for identifying the task by a task name or a command.

【0013】また、排他制御処理装置では仮想タスクに
よるロック要求が複数の異なる共有資源において同時に
排他待ちとなる際に、共有資源各々に対する仮想タスク
によるロック要求を夫々の待ち行列に入れるようにして
いる。
Further, in the exclusive control processing device, when a lock request by a virtual task is simultaneously waiting for exclusion in a plurality of different shared resources, the lock request by the virtual task for each of the shared resources is put in each queue. .

【0014】さらに、排他制御処理装置では仮想タスク
によるロック要求でロックされている共有資源に他のホ
ストコンピュータからのロック要求があった時、その仮
想タスクによるロック要求を送出したホストコンピュー
タにその共有資源の一時開放を要求するアンロックを通
知し、そのアンロックが不要となった時アンロック不要
を通知するようにしている。
Further, in the exclusive control processing device, when a lock request is issued from another host computer to the shared resource locked by the lock request by the virtual task, the shared resource is transmitted to the host computer which sent the lock request by the virtual task. An unlock requesting a temporary release of the resource is notified, and when the unlock becomes unnecessary, the unlock unnecessary is notified.

【0015】これによって、複数のロック要求が一つに
まとめられるので、ホストコンピュータと排他制御処理
装置との間のアクセス回数を削減することが可能とな
り、さらに共有資源の高効率な利用が可能となる。
As a result, a plurality of lock requests are grouped into one, so that the number of accesses between the host computer and the exclusive control processing device can be reduced, and more efficient use of shared resources can be achieved. Become.

【0016】[0016]

【発明の実施の形態】次に、本発明の一実施例について
図面を参照して説明する。図1は本発明の一実施例によ
る排他制御処理装置の構成を示すブロック図である。図
において、排他制御処理装置1はホストインタフェース
部2と、タスク識別部3と、実タスク処理部4と、仮想
タスク処理部5と、ロック管理テーブル6とから構成さ
れている。
Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an exclusive control processing device according to one embodiment of the present invention. In the figure, the exclusive control processing device 1 includes a host interface unit 2, a task identification unit 3, a real task processing unit 4, a virtual task processing unit 5, and a lock management table 6.

【0017】ホストインタフェース部2は図示せぬ複数
のホストコンピュータ各々に接続され、複数のホストコ
ンピュータ各々との間で信号の授受を行う手段である。
タスク識別部3はホストインタフェース部2からの共有
資源(図示せず)のロック要求を実タスクによるもの
か、あるいは仮想タスクによるものかを少なくともタス
ク名称あるいはコマンド(例えば、実タスクロック要求
または仮想タスクロック要求の識別子、ロック要求資源
アドレス等)によって識別する手段である。
The host interface unit 2 is connected to each of a plurality of host computers (not shown) and is a means for transmitting and receiving signals to and from each of the plurality of host computers.
The task identification unit 3 determines at least a task name or a command (for example, a real task lock request or a virtual task) as to whether a request for locking a shared resource (not shown) from the host interface unit 2 is due to a real task or a virtual task. Lock request identifier, lock request resource address, etc.).

【0018】ここで、仮想タスクによるロック要求とは
複数のホストコンピュータ各々において、異なる複数の
実タスク等が同一の共有資源の共有ロックを要求する際
に、これら複数の実タスクによるロック要求を一つにま
とめたものである。
Here, a lock request by a virtual task means that when a plurality of different real tasks request a shared lock of the same shared resource in each of a plurality of host computers, the lock request by the plurality of real tasks is one. It is summarized in one.

【0019】また、同じホストコンピュータ内の異なる
複数の実タスク等が同一の共有資源のロックを要求する
場合とは、その共有資源が他のタスクあるいは他のホス
トコンピュータからのタスクによって使用され、その使
用を待っている間に異なる実タスクから同一の共有資源
のロックが要求される場合、または予め設定された所定
期間内に発生する複数の実タスク、同時に発生する複数
の実タスクから同一の共有資源のロックが要求される場
合等である。
The case where a plurality of different real tasks or the like in the same host computer request the lock of the same shared resource means that the shared resource is used by another task or a task from another host computer. When a lock on the same shared resource is requested from a different real task while waiting for use, or a plurality of real tasks that occur within a predetermined period set in advance, or the same shared from multiple real tasks that occur simultaneously For example, a case where a resource lock is required.

【0020】実タスク処理部4はタスク識別部3によっ
てタスクが実タスクであると識別された時に、ロック管
理テーブル6で照合を行う機能を有し、実タスクによる
ロック要求を管理する。同様に、仮想タスク処理部5は
タスク識別部3によってタスクが仮想タスクであると識
別された時に、ロック管理テーブル6で照合を行う機能
を有し、仮想タスクによるロック要求を管理する。
The real task processing unit 4 has a function of checking the lock management table 6 when a task is identified as a real task by the task identification unit 3, and manages a lock request by the real task. Similarly, the virtual task processing unit 5 has a function of checking the lock management table 6 when a task is identified as a virtual task by the task identification unit 3, and manages a lock request by the virtual task.

【0021】ロック管理テーブル6は実タスク処理部4
からの実タスクのロック要求及び仮想タスク処理部5か
らの仮想タスクによるロック要求を入力順に蓄積し、実
タスクのロック要求及び仮想タスクによるロック要求を
管理するテーブルである。
The lock management table 6 stores the actual task processing unit 4
The table stores the real task lock request from the virtual task processing unit 5 and the virtual task lock request from the virtual task processing unit 5 in the input order, and manages the real task lock request and the virtual task lock request.

【0022】複数のホストコンピュータからホストイン
タフェース部2を通してロック要求が転送されてくる
と、タスク識別部3はそのロック要求が実タスクによる
ロック要求か、あるいは仮想タスクによるロック要求か
を識別し、その識別結果に応じてロック要求を実タスク
処理部4または仮想タスク処理部5に通知する。
When a lock request is transferred from a plurality of host computers through the host interface unit 2, the task identification unit 3 identifies whether the lock request is a lock request by a real task or a lock request by a virtual task. The lock request is notified to the real task processing unit 4 or the virtual task processing unit 5 according to the identification result.

【0023】実タスク処理部4及び仮想タスク処理部5
はロック管理テーブル6と通信し、要求資源の使用可否
を決定する。ロック管理テーブル6は各ロック要求を管
理統制を行う機能を持つ。
Real task processing unit 4 and virtual task processing unit 5
Communicates with the lock management table 6 to determine whether the requested resource can be used. The lock management table 6 has a function of managing and controlling each lock request.

【0024】実タスク処理部4及び仮想タスク処理部5
は要求資源が使用可であればそのロック要求を許可し、
タスク識別部3及びホストインタフェース部2を介して
ホストコンピュータに当該ロック要求が受付けられて許
可されたことを通知する。通知を受けたホストコンピュ
ータはその許可にしたがって共有資源を使用することが
可能となる。
Real task processor 4 and virtual task processor 5
Grants the lock request if the requested resource is available,
The host computer notifies the host computer via the task identification unit 3 and the host interface unit 2 that the lock request has been accepted and permitted. The notified host computer can use the shared resource according to the permission.

【0025】つまり、通常ならば、同一ホストコンピュ
ータ内の異なる複数の実タスク等が同一の共有資源の共
有ロックを要求する場合においても、実タスクによる共
有資源のロック要求しか管理できない場合、排他制御処
理装置との通信が複数回必要になってしまうが、上記の
排他制御処理装置1のように、同一ホストコンピュータ
内の異なる複数の実タスク等が同一の共有資源の共有ロ
ックであった場合、それらをまとめて、仮想的に要求す
る仮想タスク管理機能を持つことによって、排他制御処
理装置1との通信が一度で実現可能となる。
That is, normally, even when a plurality of different real tasks in the same host computer request a shared lock of the same shared resource, if only a lock request of the shared resource by the real task can be managed, exclusive control is performed. Communication with the processing device is required a plurality of times. However, when a plurality of different real tasks in the same host computer are shared locks of the same shared resource as in the exclusive control processing device 1 described above, By combining them and having a virtual task management function for virtually requesting, communication with the exclusive control processing device 1 can be realized at one time.

【0026】排他制御処理装置1はタスク識別部3と仮
想タスク処理部5とを備えることで、これらの機能で同
じホストコンピュータの異なる実タスクからの同じ資源
に対するロック要求が仮想タスクによって一度で要求可
能となる。
The exclusive control processing device 1 includes the task identification unit 3 and the virtual task processing unit 5, so that the virtual task requests the lock request for the same resource from different real tasks of the same host computer at once by using these functions. It becomes possible.

【0027】図2は図1のロック管理テーブル6の構成
を示すブロック図である。図において、ロック管理テー
ブル6はタスクハッシュテーブル61と、仮想タスクハ
ッシュテーブル62と、資源ハッシュテーブル63とか
ら構成されている。
FIG. 2 is a block diagram showing the structure of the lock management table 6 of FIG. In the figure, the lock management table 6 includes a task hash table 61, a virtual task hash table 62, and a resource hash table 63.

【0028】タスクハッシュテーブル61は従来の実タ
スクテーブルを示している。タスクハッシュテーブル6
1はタスクあるいはスレッド等と呼ばれる処理単位であ
る実タスクによる共有資源のロック要求によるタスクエ
ントリAT611,AT612を生成する。
The task hash table 61 shows a conventional real task table. Task hash table 6
Reference numeral 1 generates task entries AT611 and AT612 based on a shared resource lock request by a real task which is a processing unit called a task or a thread.

【0029】仮想タスクハッシュテーブル62はタスク
ハッシュテーブル61とは独立に配設されている。仮想
タスクハッシュテーブル62は同じタスク名称を有する
仮想タスクに対し、独立のタスクエントリVT621〜
VT623を生成することによって同じタスクが複数の
資源631,632に対して排他ウェイトすることを可
能にする。
The virtual task hash table 62 is provided independently of the task hash table 61. The virtual task hash table 62 has independent task entries VT621 to VT621 for virtual tasks having the same task name.
Generating the VT 623 enables the same task to perform an exclusive wait on a plurality of resources 631,632.

【0030】ここで、LE(Lock entry)6
311,6322は資源631,632に対してロック
を掛けているタスクエントリ(仮想タスクVT621
等)であることを示し、WE(Wait entry)
6312,6313,6323,6324,6325は
資源631,632の解放を待って待ち行列に入ってい
るタスクエントリ(実タスクAT611,AT612及
び仮想タスクVT622,623等)であることを示し
ている。
Here, LE (Lock entry) 6
311, 6322 are task entries (virtual task VT621) that lock resources 631,632.
WE) (Wait entry)
Reference numerals 6312, 6313, 6323, 6324, and 6325 indicate task entries (real tasks AT611, AT612, virtual tasks VT622, 623, and the like) that are in a queue waiting for the release of the resources 631,632.

【0031】図3は本発明の一実施例による並列処理シ
ステムの構成例を示すブロック図である。図において、
複数のホストコンピュータ11〜1n各々は共有資源1
0を共通に使用する。排他制御処理装置1は図1に示す
ように構成され、複数のホストコンピュータ11〜1n
各々からの実タスクあるいは仮想タスクによる共有資源
10のロック要求を調停している。
FIG. 3 is a block diagram showing a configuration example of a parallel processing system according to one embodiment of the present invention. In the figure,
Each of the plurality of host computers 11 to 1n is a shared resource 1
0 is commonly used. The exclusive control processing device 1 is configured as shown in FIG. 1, and includes a plurality of host computers 11 to 1n.
The lock request of the shared resource 10 by each real task or virtual task is arbitrated.

【0032】図4〜図6は図1の排他制御処理装置1の
処理動作を示すフローチャートである。これら図1〜図
6を用いて排他制御処理装置1によるロック要求の調停
処理について説明する。
FIGS. 4 to 6 are flowcharts showing the processing operation of the exclusive control processing device 1 of FIG. The arbitration process of the lock request by the exclusive control processing device 1 will be described with reference to FIGS.

【0033】複数のホストコンピュータ11〜1nから
ホストインタフェース部2を通してロック要求が転送さ
れてくると(図4ステップS1)、タスク識別部3はそ
のロック要求が実タスクによるロック要求かどうかを識
別する(図4ステップS2)。
When a lock request is transferred from a plurality of host computers 11 to 1n through the host interface unit 2 (step S1 in FIG. 4), the task identification unit 3 identifies whether the lock request is a lock request by a real task. (Step S2 in FIG. 4).

【0034】タスク識別部3はそのロック要求が実タス
クによるロック要求であると識別すると、実タスク処理
部4に実タスクによるロック要求と識別したことを通知
する(図4ステップS3)。
When the task identification unit 3 identifies that the lock request is a lock request by a real task, it notifies the real task processing unit 4 that the lock request is identified as a lock request by a real task (step S3 in FIG. 4).

【0035】実タスク処理部4はタスク識別部3からの
通知を受けると、ロック管理テーブル6を参照し(図4
ステップS4)、そのロック要求の対象の共有資源(以
下、要求資源とする)が使用可能か否かを判定する(図
4ステップS5)。
Upon receiving the notification from the task identification unit 3, the real task processing unit 4 refers to the lock management table 6 (FIG. 4).
Step S4), it is determined whether or not a shared resource (hereinafter, referred to as a requested resource) as a target of the lock request is usable (step S5 in FIG. 4).

【0036】実タスク処理部4は要求資源が使用可能で
あると判定すると、そのロック要求を許可し、タスク識
別部3及びホストインタフェース部2を介してホストコ
ンピュータ11〜1nに当該ロック要求が受付けられて
許可されたことを通知する(図4ステップS6)。
When the real task processing unit 4 determines that the requested resource is available, the real task processing unit 4 permits the lock request, and the lock request is accepted by the host computers 11 to 1n via the task identification unit 3 and the host interface unit 2. Then, it is notified that it has been permitted (step S6 in FIG. 4).

【0037】通知を受けたホストコンピュータ11〜1
0はその許可にしたがって共有資源10を使用すること
が可能となる。この後、排他制御処理装置1は処理終了
であれば(図4ステップS7)、処理を終了し、処理終
了でなければ(図4ステップS7)、ステップS1に戻
る。
The host computers 11 to 1 that have received the notification
0 can use the shared resource 10 according to the permission. Thereafter, if the processing is completed (step S7 in FIG. 4), the exclusive control processing device 1 ends the processing, and if not (step S7 in FIG. 4), the processing returns to step S1.

【0038】一方、実タスク処理部4は要求資源が使用
可能ではないと判定すると、そのロック要求をロック管
理テーブル6のタスクハッシュテーブル61を介して要
求資源の待ち行列に追加し(図4ステップS8)、ステ
ップS1に戻る。
On the other hand, if the real task processing unit 4 determines that the requested resource is not usable, the real task processing unit 4 adds the lock request to the queue of the requested resource via the task hash table 61 of the lock management table 6 (step in FIG. 4). S8), returning to step S1.

【0039】タスク識別部3はそのロック要求が実タス
クによるロック要求ではないと識別すると、そのロック
要求が仮想タスクによるロック要求かどうかを識別する
(図6ステップS12)。
When the task identification unit 3 identifies that the lock request is not a lock request by a real task, it identifies whether the lock request is a lock request by a virtual task (step S12 in FIG. 6).

【0040】タスク識別部3はそのロック要求が仮想タ
スクによるロック要求であると識別すると、仮想タスク
処理部5に仮想タスクによるロック要求と識別したこと
を通知する(図6ステップS13)。
When the task identification unit 3 identifies that the lock request is a lock request by a virtual task, it notifies the virtual task processing unit 5 that the lock request is identified as a lock request by a virtual task (step S13 in FIG. 6).

【0041】仮想タスク処理部5はタスク識別部3から
の通知を受けると、ロック管理テーブル6を参照し(図
6ステップS14)、要求資源が使用可能か否かを判定
する(図6ステップS15)。
When the virtual task processing unit 5 receives the notification from the task identification unit 3, the virtual task processing unit 5 refers to the lock management table 6 (step S14 in FIG. 6) and determines whether the requested resource is available (step S15 in FIG. 6). ).

【0042】仮想タスク処理部5は要求資源が使用可能
であると判定すると、そのロック要求を許可し、タスク
識別部3及びホストインタフェース部2を介してホスト
コンピュータ11〜1nに当該ロック要求が受付けられ
て許可されたことを通知する(図6ステップS16)。
When the virtual task processing unit 5 determines that the requested resource is available, the virtual task processing unit 5 permits the lock request, and the lock request is accepted by the host computers 11 to 1n via the task identification unit 3 and the host interface unit 2. Then, it is notified that it has been permitted (step S16 in FIG. 6).

【0043】通知を受けたホストコンピュータ11〜1
0はその許可にしたがって共有資源10を使用すること
が可能となる。この後、排他制御処理装置1は処理終了
であれば(図6ステップS17)、処理を終了し、処理
終了でなければ(図6ステップS17)、ステップS1
に戻る。
The host computers 11 to 1 that have received the notification
0 can use the shared resource 10 according to the permission. Thereafter, if the processing is completed (step S17 in FIG. 6), the exclusive control processing device 1 ends the processing. If not (step S17 in FIG. 6), the exclusive control processing device 1 proceeds to step S1.
Return to

【0044】一方、仮想タスク処理部5は要求資源が使
用可能ではないと判定すると、そのロック要求をロック
管理テーブル6の仮想タスクハッシュテーブル62を介
して要求資源の待ち行列に追加し(図6ステップS1
8)、ステップS1に戻る。
On the other hand, if the virtual task processing section 5 determines that the requested resource is not usable, the virtual task processing section 5 adds the lock request to the request resource queue via the virtual task hash table 62 of the lock management table 6 (FIG. 6). Step S1
8) Return to step S1.

【0045】これに対し、複数のホストコンピュータ1
1〜1nからホストインタフェース部2を通して資源使
用終了通知が転送されてくると(図5ステップS9)、
タスク識別部3がその通知が実タスクによるものと識別
すると、その通知を実タスク処理部4を介してロック管
理テーブル6に送出し、その通知が仮想タスクによるも
のと識別すると、その通知を仮想タスク処理部5を介し
てロック管理テーブル6に送出する。
On the other hand, a plurality of host computers 1
When the resource use end notification is transferred from the host computer 1 to 1n through the host interface unit 2 (step S9 in FIG. 5),
When the task identification unit 3 identifies that the notification is based on the real task, the task identification unit 3 sends the notification to the lock management table 6 via the real task processing unit 4. The data is sent to the lock management table 6 via the task processing unit 5.

【0046】ロック管理テーブル6では資源使用終了通
知で通知された共有資源10に対応する待ち行列の先頭
のタスクエントリがタスクハッシュテーブル61による
ものであれば、実タスク処理部4からタスク識別部3及
びホストインタフェース部2を介してホストコンピュー
タ11〜1nに待ち行列の先頭のロック要求が受付けら
れて許可されたことを通知し、共有資源10に対応する
待ち行列の先頭のタスクエントリが仮想タスクハッシュ
テーブル62によるものであれば、仮想タスク処理部5
からタスク識別部3及びホストインタフェース部2を介
してホストコンピュータ11〜1nに待ち行列の先頭の
ロック要求が受付けられて許可されたことを通知する
(図5ステップS10)。
In the lock management table 6, if the task entry at the head of the queue corresponding to the shared resource 10 notified by the resource use end notification is based on the task hash table 61, the real task processing unit 4 sends the task identification unit 3 And notifies the host computers 11 to 1n via the host interface unit 2 that the lock request at the head of the queue has been accepted and granted, and the task entry at the head of the queue corresponding to the shared resource 10 has a virtual task hash. If it is based on the table 62, the virtual task processing unit 5
Notifies the host computers 11 to 1n via the task identification unit 3 and the host interface unit 2 that the lock request at the head of the queue has been accepted and permitted (step S10 in FIG. 5).

【0047】通知を受けたホストコンピュータ11〜1
0はその許可にしたがって共有資源10を使用すること
が可能となる。この後、排他制御処理装置1は処理終了
であれば(図5ステップS11)、処理を終了し、処理
終了でなければ(図5ステップS11)、ステップS1
に戻る。
Host computers 11 to 1 that have received the notification
0 can use the shared resource 10 according to the permission. Thereafter, if the processing is completed (step S11 in FIG. 5), the exclusive control processing device 1 ends the processing. If not (step S11 in FIG. 5), the exclusive control processing device 1 proceeds to step S1.
Return to

【0048】つまり、通常ならば、同一のホストコンピ
ュータ11〜1n内の異なる複数の実タスク等が同一の
共有資源10の共有ロックを要求する場合においても、
実タスクによる共有資源10のロック要求しか管理でき
なければ、排他制御処理装置1との通信が複数回必要に
なってしまう。しかしながら、上記の排他制御処理装置
1のように、同一のホストコンピュータ11〜1n内の
異なる複数の実タスク等が同一の共有資源10の共有ロ
ックであった場合、それらをまとめて、仮想的に要求す
る仮想タスク管理機能を持つことによって、排他制御処
理装置1との通信が一度で実現可能となる。
That is, normally, even when a plurality of different real tasks in the same host computer 11 to 1n request the shared lock of the same shared resource 10,
If only the lock request of the shared resource 10 by the real task can be managed, communication with the exclusive control processing device 1 is required a plurality of times. However, when a plurality of different real tasks in the same host computer 11 to 1n are shared locks of the same shared resource 10 as in the exclusive control processing device 1 described above, they are grouped together and virtually By having the required virtual task management function, communication with the exclusive control processing device 1 can be realized at one time.

【0049】排他制御処理装置1はタスク識別部3と仮
想タスク処理部5とを備えることで、これらの機能で同
じホストコンピュータ11〜1nの異なる実タスクから
の同じ共有資源10に対するロック要求が仮想タスクに
よって一度で要求可能となる。
The exclusive control processing device 1 includes the task identification unit 3 and the virtual task processing unit 5, so that lock requests for the same shared resource 10 from different real tasks of the same host computers 11 to 1 n can be virtualized by these functions. Tasks can be requested at once.

【0050】図7は本発明の他の実施例による排他制御
処理装置の構成を示すブロック図である。図において、
本発明の他の実施例による排他制御処理装置7はロック
管理テーブル6を監視するアテンション管理部8を備え
た以外は本発明の一実施例と同様の構成となっており、
同一構成要素には同一符号を付してある。また、同一構
成要素の動作は本発明の一実施例と同様である。
FIG. 7 is a block diagram showing the configuration of an exclusive control processing device according to another embodiment of the present invention. In the figure,
The exclusive control processing device 7 according to another embodiment of the present invention has the same configuration as that of the embodiment of the present invention except that it has an attention management unit 8 that monitors the lock management table 6.
The same components are denoted by the same reference numerals. The operation of the same component is the same as that of the embodiment of the present invention.

【0051】アテンション管理部8はロック管理テーブ
ル6を監視し、仮想タスクによってロックされている共
有資源10に対して他のホストコンピュータからのロッ
ク要求が排他ウェイトになった時、その仮想タスクによ
るロック要求の要求元のホストコンピュータに対して当
該共有資源10のアンロックを要求するアテンションを
発生する。
The attention management unit 8 monitors the lock management table 6, and when a lock request from another host computer to the shared resource 10 locked by the virtual task becomes an exclusive wait, the lock by the virtual task is used. Attention is generated to request the host computer requesting the request to unlock the shared resource 10.

【0052】また、アテンション管理部8はそのアテン
ションの発生後、アテンション要求の原因となった排他
ウェイトが解消された場合、先のアンロック要求をキャ
ンセルするアテンションを発生させる。
After the occurrence of the attention, if the exclusive weight causing the attention request is eliminated, the attention management unit 8 generates an attention for canceling the previous unlock request.

【0053】これは仮想タスクによって共有資源10が
ロックされている時、一時的に一部を開放するように要
求することを目的としており、本アテンションを受けた
ホストコンピュータはその領域の仮開放に問題が無けれ
ば、その旨を通知してくる。
This is intended to request that a part of the shared resource 10 be temporarily released when the shared resource 10 is locked by the virtual task. If there is no problem, you will be notified.

【0054】また、他のホストコンピュータの共有資源
の使用が終了することで、上記のように先のアンロック
要求をキャンセルするアテンションを発生させること
で、さらなる仮想ロック要求を削減することができ、共
有資源10の有効利用が可能となる。
Further, when the use of the shared resource of another host computer ends, an attention is generated to cancel the previous unlock request as described above, so that a further virtual lock request can be reduced. Effective use of the shared resource 10 becomes possible.

【0055】図8は図7の排他制御処理装置7のアテン
ション管理部8の動作を示すシーケンスチャートであ
る。この図においては仮想ロック機能を用いてロック制
御を行った時、1つの仮想タスクによるロック要求が共
有資源10を多大な時間を占有し続けることで、他のホ
ストコンピュータの処理を妨げるのを防ぐために、アテ
ンション管理部8から出力されるアンロック要求アテン
ションとアンロック不要アテンションとを示している。
FIG. 8 is a sequence chart showing the operation of the attention management unit 8 of the exclusive control processing device 7 of FIG. In this figure, when lock control is performed using the virtual lock function, it is possible to prevent a lock request from one virtual task from occupying the shared resource 10 for a long time, thereby preventing the processing of another host computer from being interrupted. For example, an unlock request attention and an unlock unnecessary attention output from the attention management unit 8 are shown.

【0056】あるホストコンピュータから実タスク41
〜44による共有資源10のロック要求を仮想タスクに
よってまとめてロックしている場合、他のホストコンピ
ュータから実タスク45によって同一の共有資源10に
対してロック要求が発生すると、この実タスク45によ
るロック要求はロックウェイトされるが、排他制御処理
装置7のアンロック要求アテンション機能によって、上
記の仮想タスクによるロック要求を行っているホストコ
ンピュータに対して、アンロックアテンション46によ
ってこのロックを解除するように要求する。
An actual task 41 is sent from a certain host computer.
When the lock request for the shared resource 10 by the real task 45 is issued from another host computer to the same shared resource 10 by the real task 45, the lock request by the real task 45 is locked. Although the request is locked, the lock request is released by the unlock attention 46 to the host computer requesting the lock by the virtual task by the unlock request attention function of the exclusive control processing device 7. Request.

【0057】上記の仮想タスクによるロック要求を行っ
ているホストコンピュータはロックの解除が可能なら
ば、共有資源10のロックの解除47を行うことができ
る。共有資源10のロックが解除されると、実タスク4
5によるロック要求がロックウェイトからロック状態に
なる。
The host computer issuing the lock request by the virtual task can release the lock 47 on the shared resource 10 if the lock can be released. When the lock on the shared resource 10 is released, the real task 4
The lock request by No. 5 is changed from the lock wait to the lock state.

【0058】また、タスク45によるロック要求によっ
て出されたアンロック要求46が仮想タスクによるロッ
ク要求を行っているホストコンピュータに受付けられ、
ロックが解除される前に、タスク45によるロック要求
が取消された場合、アンロック不要アテンション48を
通知することで、仮想タスクによるロック要求を行って
いるホストコンピュータは仮想タスクによるロック要求
の解除を実施しなくても良くなる。
Further, the unlock request 46 issued by the lock request by the task 45 is accepted by the host computer making the lock request by the virtual task,
If the lock request by the task 45 is canceled before the lock is released, by notifying the unlock unnecessary attention 48, the host computer which has issued the lock request by the virtual task cancels the lock request by the virtual task. It is not necessary to carry out.

【0059】このように、タスク管理において、夫々の
ホストコンピュータ11〜1n内の実タスクによる共有
資源10のロック管理とは別に、同一のホストコンピュ
ータ11〜1n内の異なる複数の実タスク等が同一の共
有資源10の共有ロックを要求する時に実タスクにてこ
れを要求せずに、ホストコンピュータ11〜1nを代表
する仮想タスクによるロック要求によって行われる際
に、ホストコンピュータ11〜1nからのロック要求が
実タスクによるロック要求かまたは仮想タスクによるロ
ック要求かをタスク識別部3で少なくともタスク名称あ
るいはコマンドによって識別するとともに、実タスクに
よるロック要求と仮想タスクによるロック要求とを夫々
ロック管理テーブル6に入力順に蓄積して別々に管理
し、タスク識別部3で仮想タスクによるロック要求と識
別された時にそのロック要求を仮想タスク処理部5で管
理することによって、ホストコンピュータ11〜1nと
排他制御処理装置1,7との間のアクセス回数を削減で
き、共有資源10の高効率な利用が可能となる。
As described above, in the task management, apart from the lock management of the shared resource 10 by the real tasks in the respective host computers 11 to 1n, different real tasks in the same host computer 11 to 1n are the same. When a lock request is made by a virtual task representing the host computers 11 to 1n without requesting the shared lock of the shared resource 10 by the real task, a lock request from the host computers 11 to 1n is issued. Is identified by the task identification unit 3 at least by a task name or a command, and the lock request by the real task and the lock request by the virtual task are input to the lock management table 6, respectively. Stored in order and managed separately, the task identification unit 3 When the lock request is identified as a lock request by the virtual task, the lock request is managed by the virtual task processing unit 5, so that the number of accesses between the host computers 11 to 1n and the exclusive control processing devices 1 and 7 can be reduced, 10 can be used with high efficiency.

【0060】すなわち、同じホストコンピュータ11〜
1n内の異なる複数のタスク等が同一の共有資源10の
共有ロックを要求する場合でも、処理のオーバヘッドを
低下させることができ、排他制御機能の大幅な性能向上
を図ることができる。
That is, the same host computers 11-
Even when a plurality of different tasks within 1n request the shared lock of the same shared resource 10, the processing overhead can be reduced, and the performance of the exclusive control function can be greatly improved.

【0061】尚、請求項の記載に関連して本発明はさら
に次の態様をとりうる。
The present invention can further take the following aspects in connection with the description of the claims.

【0062】(1)複数のホストコンピュータが共有資
源の使用権を相互に獲得して前記共有資源の利用を行う
並列処理システムの仮想ロックタスク方式の排他制御処
理装置であって、前記複数のホストコンピュータ内の実
処理単位による前記共有資源のロック管理とは別に設け
られかつ同一のホストコンピュータ内の異なる複数の実
処理が同一の共有資源の共有ロックを要求する際に前記
実処理にてこれを要求せずに当該ホストコンピュータを
代表する仮想タスクにて要求する場合にロック要求元が
前記実処理及び前記仮想タスクのいずれであるかを識別
するタスク識別手段と、前記実処理によるロック要求と
前記仮想タスクによるロック要求とを入力順に蓄積して
別々に管理するためのロック管理テーブルと、前記タス
ク識別手段で前記ロック要求元が前記仮想タスクである
と識別されたロック要求に対して前記共有資源のロック
管理を行う仮想タスク処理手段とを有することを特徴と
する排他制御処理装置。
(1) A virtual lock task type exclusive control processing device of a parallel processing system in which a plurality of host computers mutually acquire a right to use a shared resource and use the shared resource, wherein the plurality of host computers When a plurality of different real processes in the same host computer request a shared lock of the same shared resource, the lock is provided separately from the lock management of the shared resource by the real processing unit in the computer. A task identification unit for identifying whether the lock request source is the real process or the virtual task when a request is made by a virtual task representing the host computer without making a request, and a lock request by the real process. A lock management table for storing lock requests by the virtual task in the order of input and managing them separately; and Click requester and having a virtual task processing means for locking control of the shared resource for the identified lock request to be the virtual task exclusive control processor.

【0063】(2) 前記ロック管理テーブルは、前記
仮想タスクが複数の異なる共有資源において同時に排他
待ちとなる時に、前記複数の異なる共有資源夫々に対す
る同じ仮想タスクからのロック要求をあたかも異なる実
処理によるロック要求として扱うように構成したことを
特徴とする(1)記載の排他制御処理装置。
(2) The lock management table indicates that when the virtual task is simultaneously waiting for exclusion in a plurality of different shared resources, the lock request from the same virtual task to each of the plurality of different shared resources is as if by a different actual processing. The exclusive control processing device according to (1), wherein the exclusive control processing device is configured to be treated as a lock request.

【0064】(3) 前記仮想タスクによるロック要求
でロック中の共有資源に他のホストコンピュータからの
ロック要求が発生する際に、前記仮想タスクによるロッ
ク要求の要求元のホストコンピュータにアンロック要求
を通知しかつそのアンロック要求が不要となった時にア
ンロック不要を通知するアテンション管理手段を含むこ
とを特徴とする(1)または(2)記載の排他制御処理
装置。
(3) When a lock request is issued from another host computer to the locked shared resource by the lock request by the virtual task, an unlock request is issued to the host computer that has requested the lock request by the virtual task. The exclusive control processing device according to (1) or (2), further comprising an attention management means for notifying and notifying that the unlock request becomes unnecessary when the unlock request becomes unnecessary.

【0065】(4)複数のホストコンピュータが共有資
源の使用権を相互に獲得して前記共有資源の利用を行う
並列処理システムの仮想ロックタスク方式の排他制御処
理方法であって、前記複数のホストコンピュータ内の実
処理単位による前記共有資源のロック管理とは別に設け
られかつ同一のホストコンピュータ内の異なる複数の実
処理が同一の共有資源の共有ロックを要求する際に前記
実処理にてこれを要求せずに当該ホストコンピュータを
代表する仮想タスクにて要求する場合にロック要求元が
前記実処理及び前記仮想タスクのいずれであるかを識別
するステップと、前記実処理によるロック要求と前記仮
想タスクによるロック要求とを入力順に蓄積して別々に
管理するステップと、前記ロック要求元が前記仮想タス
クであると識別されたロック要求に対して前記共有資源
のロック管理を行うステップとを有することを特徴とす
る排他制御処理方法。
(4) An exclusive control processing method of a virtual lock task system of a parallel processing system in which a plurality of host computers mutually acquire a right to use a shared resource and use the shared resource, wherein When a plurality of different real processes in the same host computer request a shared lock of the same shared resource, the lock is provided separately from the lock management of the shared resource by the real processing unit in the computer. A step of identifying whether the lock request source is the real process or the virtual task when a virtual task representing the host computer makes a request without making a request, a lock request by the real process and the virtual task Accumulating the lock requests according to the input order and managing them separately; and identifying the lock request source to be the virtual task. Exclusive control processing method characterized by a step of performing a lock management of the shared resources to the lock request.

【0066】(5) 前記ロック要求を入力順に蓄積し
て別々に管理するステップは、前記仮想タスクが複数の
異なる共有資源において同時に排他待ちとなる時に、前
記複数の異なる共有資源夫々に対する同じ仮想タスクか
らのロック要求をあたかも異なる実処理によるロック要
求として扱うようにしたことを特徴とする(4)記載の
排他制御処理方法。
(5) The step of accumulating the lock requests in the input order and separately managing the lock requests includes the step of, when the virtual tasks are simultaneously waiting for exclusion in a plurality of different shared resources, the same virtual task for each of the plurality of different shared resources The exclusive control processing method according to (4), wherein the lock request from the server is treated as a lock request by a different actual processing.

【0067】(6) 前記仮想タスクによるロック要求
でロック中の共有資源に他のホストコンピュータからの
ロック要求が発生する際に、前記仮想タスクによるロッ
ク要求の要求元のホストコンピュータにアンロック要求
を通知しかつそのアンロック要求が不要となった時にア
ンロック不要を通知するステップを含むことを特徴とす
る(4)または(5)記載の排他制御処理方法。
(6) When a lock request is issued from another host computer to a locked shared resource by a lock request by the virtual task, an unlock request is issued to the host computer that has requested the lock request by the virtual task. The exclusive control processing method according to (4) or (5), further comprising a step of notifying and notifying that the unlock request is unnecessary when the unlock request becomes unnecessary.

【0068】(7)複数のホストコンピュータが共有資
源の使用権を相互に獲得して前記共有資源の利用を行う
並列処理システムの仮想ロックタスク方式の排他制御処
理プログラムを記憶した記憶媒体であって、前記排他制
御処理プログラムは前記複数のホストコンピュータ各々
からの前記共有資源の使用権の獲得要求の排他制御を行
う排他制御手段に、前記複数のホストコンピュータ内の
実処理単位による前記共有資源のロック管理とは別に設
けられかつ同一のホストコンピュータ内の異なる複数の
実処理が同一の共有資源の共有ロックを要求する際に前
記実処理にてこれを要求せずに当該ホストコンピュータ
を代表する仮想タスクにて要求する場合にロック要求元
が前記実処理及び前記仮想タスクのいずれであるかを識
別させ、前記実処理によるロック要求と前記仮想タスク
によるロック要求とを入力順に蓄積させて別々に管理さ
せ、前記ロック要求元が前記仮想タスクであると識別さ
れたロック要求に対して前記共有資源のロック管理を行
わせることを特徴とする排他制御処理プログラムを記憶
した記憶媒体。
(7) A storage medium storing a virtual lock task type exclusive control processing program of a parallel processing system in which a plurality of host computers mutually acquire the right to use a shared resource and use the shared resource. The exclusive control processing program locks the shared resource by an actual processing unit in the plurality of host computers, by an exclusive control unit that performs exclusive control of a request to acquire the right to use the shared resource from each of the plurality of host computers. When a plurality of different real processes in the same host computer which are provided separately from the management request a shared lock of the same shared resource, a virtual task representing the host computer without requesting the shared lock in the real process. When the request is made, the lock request source is identified as either the real process or the virtual task. The lock request by the virtual task and the lock request by the virtual task are accumulated in the input order and separately managed, and the lock request of the lock request source is identified as the virtual task, and the lock management of the shared resource is performed. A storage medium storing an exclusive control processing program characterized by the above-mentioned.

【0069】(8) 前記排他制御処理プログラムは前
記排他制御手段に、前記ロック要求を入力順に蓄積させ
て別々に管理させる際に、前記仮想タスクが複数の異な
る共有資源において同時に排他待ちとなる時に、前記複
数の異なる共有資源夫々に対する同じ仮想タスクからの
ロック要求をあたかも異なる実処理によるロック要求と
して扱わせるようにしたことを特徴とする(7)記載の
排他制御処理プログラムを記憶した記憶媒体。
(8) The exclusive control processing program causes the exclusive control means to accumulate the lock requests in the order of input and manage them separately. A storage medium storing an exclusive control processing program according to (7), wherein a lock request from the same virtual task to each of the plurality of different shared resources is treated as a lock request by different actual processing.

【0070】(9) 前記排他制御処理プログラムは前
記排他制御手段に、前記仮想タスクによるロック要求で
ロック中の共有資源に他のホストコンピュータからのロ
ック要求が発生する際に、前記仮想タスクによるロック
要求の要求元のホストコンピュータにアンロック要求を
通知させかつそのアンロック要求が不要となった時にア
ンロック不要を通知させることを特徴とする(7)また
は(8)記載の排他制御処理プログラムを記憶した記憶
媒体。
(9) The exclusive control processing program causes the exclusive control means to lock the shared resource being locked by the virtual task when a lock request is issued from another host computer to the locked shared resource by the lock request by the virtual task. The exclusive control processing program according to (7) or (8), wherein the requesting host computer is notified of the unlock request, and when the unlock request becomes unnecessary, it is notified that the unlock is unnecessary. A storage medium that stores the information.

【0071】[0071]

【発明の効果】以上説明したように本発明によれば、複
数のホストコンピュータと、複数のホストコンピュータ
が共通に使用する共有資源とを含む並列処理システムの
排他制御処理装置において、複数のホストコンピュータ
各々からの共有資源の使用権の獲得要求が複数のホスト
コンピュータ各々の実タスクによる共有資源の使用権の
獲得要求と複数のホストコンピュータ各々の異なる複数
の実タスクによる同一の共有資源の使用権の獲得要求が
一つの獲得要求として送出される仮想タスクによる共有
資源の使用権の獲得要求とのうちのいずれかを識別し、
実タスクによる共有資源の使用権の獲得要求と仮想タス
クによる共有資源の使用権の獲得要求とを夫々入力順に
蓄積するとともに、実タスクによる共有資源の使用権の
獲得要求と識別された時に蓄積内容を基に実タスクによ
る共有資源の使用権の獲得要求を管理し、仮想タスクに
よる共有資源の使用権の獲得要求と識別された時に蓄積
内容を基に仮想タスクによる共有資源の使用権の獲得要
求を管理することによって、同じホストコンピュータ内
の異なる複数のタスク等が同一の共有資源の共有ロック
を要求する場合でも、処理のオーバヘッドを低下させる
ことができ、排他制御機能の大幅な性能向上を図ること
ができるという効果がある。
As described above, according to the present invention, in an exclusive control processing apparatus of a parallel processing system including a plurality of host computers and a shared resource commonly used by the plurality of host computers, a plurality of host computers are provided. The request for acquiring the right to use the shared resource from each of them is a request for acquiring the right to use the shared resource by the real task of each of the plurality of host computers, and the request for obtaining the right to use the same shared resource by the real tasks of each of the plurality of host computers. Identifying one of the request to acquire the right to use the shared resource by the virtual task, wherein the acquisition request is sent as one acquisition request;
A request to acquire a right to use a shared resource by a real task and a request to obtain a right to use a shared resource by a virtual task are stored in the order in which they are entered. Manages the request to acquire the right to use the shared resource by the real task based on the request. , The overhead of processing can be reduced even when a plurality of different tasks in the same host computer request a shared lock of the same shared resource, and the performance of the exclusive control function is greatly improved. There is an effect that can be.

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

【図1】本発明の一実施例による排他制御処理装置の構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of an exclusive control processing device according to an embodiment of the present invention.

【図2】図1のロック管理テーブルの構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a configuration of a lock management table of FIG.

【図3】本発明の一実施例による並列処理システムの構
成例を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration example of a parallel processing system according to an embodiment of the present invention.

【図4】図1の排他制御処理装置の処理動作を示すフロ
ーチャートである。
FIG. 4 is a flowchart illustrating a processing operation of the exclusive control processing device of FIG. 1;

【図5】図1の排他制御処理装置の処理動作を示すフロ
ーチャートである。
FIG. 5 is a flowchart showing a processing operation of the exclusive control processing device of FIG. 1;

【図6】図1の排他制御処理装置の処理動作を示すフロ
ーチャートである。
FIG. 6 is a flowchart showing a processing operation of the exclusive control processing device of FIG. 1;

【図7】本発明の他の実施例による排他制御処理装置の
構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of an exclusive control processing device according to another embodiment of the present invention.

【図8】図7の排他制御処理装置のアテンション管理部
の動作を示すシーケンスチャートである。
FIG. 8 is a sequence chart showing an operation of an attention management unit of the exclusive control processing device of FIG. 7;

【符号の説明】[Explanation of symbols]

1,7 排他制御処理装置 2 ホストインタフェース部 3 タスク識別部 4 実タスク処理部 5 仮想タスク処理部 6 ロック管理テーブル 8 アテンション管理部 10 共有資源 11〜1n ホストコンピュータ 61 タスクハッシュテーブル 62 仮想タスクハッシュテーブル 63 資源ハッシュテーブル 1, 7 exclusive control processing unit 2 host interface unit 3 task identification unit 4 real task processing unit 5 virtual task processing unit 6 lock management table 8 attention management unit 10 shared resources 11 to 1n host computer 61 task hash table 62 virtual task hash table 63 Resource Hash Table

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 9/46 G06F 15/16 G06F 12/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Fields surveyed (Int. Cl. 7 , DB name) G06F 9/46 G06F 15/16 G06F 12/00

Claims (12)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のホストコンピュータと、前記複数
のホストコンピュータが共通に使用する共有資源とを含
む並列処理システムの排他制御処理装置であって、前記
複数のホストコンピュータ各々からの前記共有資源の使
用権の獲得要求が前記複数のホストコンピュータ各々の
実タスクによる前記共有資源の使用権の獲得要求と前記
複数のホストコンピュータ各々の異なる複数の実タスク
による同一の共有資源の使用権の獲得要求が一つの獲得
要求として送出される仮想タスクによる前記共有資源の
使用権の獲得要求とのうちのいずれかを識別する識別手
段と、前記実タスクによる前記共有資源の使用権の獲得
要求と前記仮想タスクによる前記共有資源の使用権の獲
得要求とを夫々入力順に蓄積するロック管理テーブル
と、前記識別手段で前記実タスクによる前記共有資源の
使用権の獲得要求と識別された時に前記ロック管理テー
ブルの内容を基に前記実タスクによる前記共有資源の使
用権の獲得要求を管理する実タスク処理手段と、前記識
別手段で前記仮想タスクによる前記共有資源の使用権の
獲得要求と識別された時に前記ロック管理テーブルの内
容を基に前記仮想タスクによる前記共有資源の使用権の
獲得要求を管理する仮想タスク処理手段と、前記仮想タ
スクによる獲得要求で前記使用権が獲得された共有資源
に対して他のコンピュータからの獲得要求が発生する際
に当該仮想タスクによる獲得要求を出力したホストコン
ピュータに当該共有資源の一時開放を要求するアンロッ
ク要求を通知しかつ当該アンロック要求が不要となった
時にアンロック不要を通知するアテンション管理手段と
を有することを特徴とする排他制御処理装置。
An exclusive control processing apparatus for a parallel processing system including a plurality of host computers and a shared resource commonly used by the plurality of host computers, wherein the shared resource is transmitted from each of the plurality of host computers. The request for obtaining the right to use is a request for obtaining the right to use the shared resource by the real task of each of the plurality of host computers, and the request for obtaining the right to use the same shared resource by the plurality of different real tasks of each of the plurality of host computers. Identification means for identifying any one of a request to acquire the right to use the shared resource by the virtual task transmitted as one acquisition request; and a request to acquire the right to use the shared resource by the real task and the virtual A lock management table for accumulating requests to acquire the right to use the shared resource by a task in the order of input; Real task processing means for managing a request to acquire the right to use the shared resource by the real task based on the contents of the lock management table when the request is identified as a request to acquire the right to use the shared resource by the real task; Virtual task processing means for managing a request to acquire the right to use the shared resource by the virtual task based on the contents of the lock management table when the request is identified by the virtual task as a request to acquire the right to use the shared resource; And the virtual
A shared resource for which the use right has been acquired by an acquisition request by a disk
When an acquisition request is issued from another computer
The host computer that has output the acquisition request by the virtual task
Computer to unlock the shared resource temporarily.
Notification of lock request and unlock request is no longer required
An exclusive control processing device, comprising: an attention management unit that sometimes notifies the user that unlocking is unnecessary .
【請求項2】 前記ロック管理テーブルは、前記共有資
源毎に前記実タスクによる前記共有資源の使用権の獲得
要求と前記仮想タスクによる前記共有資源の使用権の獲
得要求とを夫々入力順に蓄積する複数の待ち行列を含む
ことを特徴とする請求項1記載の排他制御処理装置。
2. The lock management table stores, for each of the shared resources, a request to acquire a right to use the shared resource by the real task and a request to acquire a right to use the shared resource by the virtual task in the order of input. The exclusive control processing device according to claim 1, wherein the exclusive control processing device includes a plurality of queues.
【請求項3】 前記識別手段は、前記獲得要求に付加さ
れたタスク名称及びコマンドのうちの少なくとも一方に
基づいて前記獲得要求の要求元が前記実タスクと前記仮
想タスクとのうちのいずれであるかを識別するよう構成
したことを特徴とする請求項1または請求項2記載の排
他制御処理装置。
3. The request source of the acquisition request is one of the real task and the virtual task based on at least one of a task name and a command added to the acquisition request. The exclusive control processing device according to claim 1 or 2, wherein the exclusive control processing device is configured to identify the exclusive control processing device.
【請求項4】 前記仮想タスク処理手段は、前記仮想タ
スクによる獲得要求が複数の異なる共有資源に対して同
時に排他待ちとなる時に前記複数の異なる共有資源各々
に対する獲得要求を前記ロック管理テーブルに蓄積する
よう構成したことを特徴とする請求項1から請求項3の
いずれか記載の排他制御処理装置。
4. The virtual task processing means stores the acquisition request for each of the plurality of different shared resources in the lock management table when the acquisition request by the virtual task is simultaneously waiting for exclusion for a plurality of different shared resources. The exclusive control processing device according to any one of claims 1 to 3, wherein the exclusive control processing device is configured to perform the following.
【請求項5】 複数のホストコンピュータと、前記複数
のホストコンピュータが共通に使用する共有資源とを含
む並列処理システムの排他制御処理方法であって、前記
複数のホストコンピュータ各々からの前記共有資源の使
用権の獲得要求が前記複数のホストコンピュータ各々の
実タスクによる前記共有資源の使用権の獲得要求と前記
複数のホストコンピュータ各々の異なる複数の実タスク
による同一の共有資源の使用権の獲得要求が一つの獲得
要求として送出される仮想タスクによる前記共有資源の
使用権の獲得要求とのうちのいずれかを識別するステッ
プと、前記実タスクによる前記共有資源の使用権の獲得
要求と前記仮想タスクによる前記共有資源の使用権の獲
得要求とを夫々入力順に蓄積するステップと、前記実タ
スクによる前記共有資源の使用権の獲得要求と識別され
た時に前記獲得要求の蓄積内容を基に前記実タスクによ
る前記共有資源の使用権の獲得要求を管理するステップ
と、前記仮想タスクによる前記共有資源の使用権の獲得
要求と識別された時に前記獲得要求の蓄積内容を基に前
記仮想タスクによる前記共有資源の使用権の獲得要求を
管理するステップと、前記仮想タスクによる獲得要求で
前記使用権が獲得された共有資源に対して他のコンピュ
ータからの獲得要求が発生する際に当該仮想タスクによ
る獲得要求を出力したホストコンピュータに当該共有資
源の一時開放を要求するアンロック要求を通知しかつ当
該アンロック要求が不要となった時にアンロック不要を
通知するステップとを有することを特徴とする排他制御
処理方法。
5. A host computer comprising : a plurality of host computers;
Shared resources commonly used by other host computers.
An exclusive control processing method for a parallel processing system,
Use of the shared resource from each of a plurality of host computers.
The request for the right to use is sent to each of the plurality of host computers.
A request to acquire the right to use the shared resource by a real task;
Multiple different real tasks for each of multiple host computers
Request to acquire the right to use the same shared resource is one
Of the shared resource by a virtual task sent as a request
A request to obtain a usage right.
And use of the shared resource by the real task
Request and right to use the shared resource by the virtual task
Accumulating the acquisition requests in the order of input.
Identified as a request to obtain the right to use the shared resource by the
When the real task is executed, the
Managing a request to acquire the right to use the shared resource
Acquiring the right to use the shared resource by the virtual task
When identified as a request, based on the accumulated contents of the acquisition request
A request to acquire the right to use the shared resource by the virtual task
Managing and acquiring request by the virtual task
Another computer may be assigned to the shared resource for which the usage right has been acquired.
When an acquisition request from the data
To the host computer that has output the acquisition request
Notification of an unlock request to temporarily release the
Unlock is unnecessary when the unlock request becomes unnecessary
Exclusive control, comprising the steps of:
Processing method.
【請求項6】 前記獲得要求を入力順に蓄積するステッ
プは、前記共有資源毎に前記実タスクによる前記共有資
源の使用権の獲得要求と前記仮想タスクによる前記共有
資源の使用権の獲得要求とを夫々入力順に蓄積する複数
の待ち行列を含むことを特徴とする請求項5記載の排他
制御処理方法。
6. A step for accumulating the acquisition requests in the order of input.
The shared resources by the real task for each of the shared resources.
Request for the right to use the resource and the sharing by the virtual task
A plurality of requests for acquiring the right to use resources are stored in the order of input.
6. The exclusive control processing method according to claim 5, further comprising :
【請求項7】 前記獲得要求を識別するステップは、前
記獲得要求に付加されたタスク名称及びコマンドのうち
の少なくとも一方に基づいて前記獲得要求の 要求元が前
記実タスクと前記仮想タスクとのうちのいずれであるか
を識別するようにしたことを特徴とする請求項5または
請求項6記載の排他制御処理方法。
7. The method of claim 1, wherein the step of identifying the acquisition request comprises :
Task name and command added to the acquisition request
The request source of the acquisition request is based on at least one of
Whether the task is a real task or the virtual task
6. The method according to claim 5, wherein
The exclusive control processing method according to claim 6 .
【請求項8】 前記仮想タスクによる前記共有資源の使
用権の獲得要求を管理するステップは、前記仮想タスク
による獲得要求が複数の異なる共有資源に対して同時に
排他待ちとなる時に前記複数の異なる共有資源各々に対
する獲得要求を夫々管理するようにしたことを特徴とす
る請求項5から請求項7のいずれか記載の排他制御処理
方法。
8. The use of the shared resource by the virtual task.
Managing the request to acquire the usage right comprises:
Request for multiple shared resources simultaneously
When waiting for exclusion, each of the plurality of different shared resources is
That each acquisition request is managed.
8. The exclusive control processing method according to claim 5, wherein
【請求項9】 複数のホストコンピュータと、前記複数
のホストコンピュータが共通に使用する共有資源とを含
む並列処理システムの排他制御処理プログラムを記憶し
た記憶媒体であって、前記排他制御処理プログラムは前
記複数のホストコンピュータ各々からの前記共有資源の
使用権の獲得要求の排他制御を行う排他制御手段に、前
記複数のホストコンピュータ各々からの前記共有資源の
使用権の獲得要求が前記複数のホストコンピュータ各々
の実タスクによる前記共有資源の使用権の獲得要求と前
記複数のホストコンピュータ各々の異なる複数の実タス
クによる同一の共有資源の使用権の獲得要求が一つの獲
得要求として送出される仮想タスクによる前記共有資源
の使用権の獲得要求とのうちのいずれかを識別させ、前
記実タスクによる前記共有資源の使用権の獲得要求と前
記仮想タスクによる前記共有資源の使用権の獲得要求と
を夫々入力順に蓄積させ、前記実タスクによる前記共有
資源の使用権の獲得要求と識別された時に前記獲得要求
の蓄積内容を基に前記実タスクによる前記共有資源の使
用権の獲得要求を管理させ、前記仮想タスクによる前記
共有資源の使用権の獲得要求と識別された時に前記獲得
要求の蓄積内容を基に前記仮想タスクによる前記共有資
源の使用権の獲得要求を管理させ、前記仮想タスクによ
る獲得要求で前記使用権が獲得された共有資源に対して
他のコンピュータからの獲得要求が発生する際に当該仮
想タスクによる獲得要求を出力したホストコンピュータ
に当該共有資源の一時開放を要求するアンロック要求を
通知させかつ当該アンロック要求が不要となった時にア
ンロック不要を通知させることを特徴とする排他制御処
理プログラムを記憶した記憶媒体。
9. A computer system comprising : a plurality of host computers;
Shared resources commonly used by other host computers.
The exclusive control processing program of the parallel processing system is stored.
Wherein the exclusive control processing program is
The shared resources from each of the plurality of host computers.
The exclusive control means for performing exclusive control of the use right acquisition request
The shared resources from each of the plurality of host computers.
A request for obtaining a use right is issued to each of the plurality of host computers;
Request for the right to use the shared resource by the real task
A plurality of different real tasks of each of the plurality of host computers
Requests for the right to use the same shared resource
Said shared resource by a virtual task sent as a get request
Request to acquire the right to use
Request for the right to use the shared resource by the real task and before
Request for the right to use the shared resource by the virtual task;
Are stored in the order of input, and the sharing by the real task is performed.
A request for obtaining a right to use the resource when the request is obtained;
Use of the shared resource by the real task based on the accumulated contents of
Management request for the usage right, and the virtual task
Acquired when identified as a request to acquire the right to use shared resources
The shared resources by the virtual task based on the accumulated contents of the request.
Request to acquire the right to use the resource,
To the shared resource for which the use right has been acquired in the acquisition request
When an acquisition request is issued from another computer, the temporary
Computer that outputs the acquisition request by the virtual task
An unlock request requesting temporary release of the shared resource
Notification when the unlock request is no longer needed.
Exclusive control processing characterized by notifying that unlocking is unnecessary
Storage medium storing a processing program.
【請求項10】 前記排他制御処理プログラムは前記排
他制御手段に、前記獲得要求を入力順に蓄積させる際
に、前記共有資源毎に前記実タスクによる前記 共有資源
の使用権の獲得要求と前記仮想タスクによる前記共有資
源の使用権の獲得要求とを夫々入力順に蓄積する複数の
待ち行列を用いさせることを特徴とする請求項9記載の
排他制御処理プログラムを記憶した記憶媒体。
10. The exclusive control processing program according to claim 1, wherein
When accumulating the acquisition requests in the order of input in other control means
The shared resources by the real task for each of the shared resources
Request for the use right of the virtual task and the shared resource by the virtual task.
Requests to acquire the right to use the source
The method according to claim 9, wherein a queue is used.
A storage medium storing an exclusive control processing program.
【請求項11】 前記排他制御処理プログラムは前記排
他制御手段に、前記獲得要求を識別させる際に、前記獲
得要求に付加されたタスク名称及びコマンドのうちの少
なくとも一方に基づいて前記獲得要求の要求元が前記実
タスクと前記仮想タスクとのうちのいずれであるかを識
別させることを特徴とする請求項9または請求項10記
載の排他制御処理プログラムを記憶した記憶媒体。
11. The exclusive control processing program according to claim 11, wherein
When the other control means identifies the acquisition request,
Of the task name and command added to the acquisition request
The request source of the acquisition request is based on at least one of
Task or the virtual task.
11. The method according to claim 9 or claim 10, wherein
Storage medium storing the exclusive control processing program described above.
【請求項12】 前記排他制御処理プログラムは前記排
他制御手段に、前記仮想タスクによる前記共有資源の使
用権の獲得要求を管理させる際に、前記仮想タスクによ
る獲得要求が複数の異なる共有資源に対して同時に排他
待ちとなる時に前記複数の異なる共有資源各々に対する
獲得要求を夫々管理させることを特徴とする請求項9か
請求項11のいずれか記載の排他制御処理プログラム
を記憶した記憶媒体。
12. The exclusive control processing program according to claim 12, wherein
In other control means, the virtual task uses the shared resource.
When managing a request to acquire a usage right, the virtual task
Acquisition requests are mutually exclusive for multiple different shared resources
Waiting for each of the plurality of different shared resources
10. The method according to claim 9, wherein each of the acquisition requests is managed.
The storage medium storing the exclusive control processing program according to any one of al claims 11.
JP9167804A 1997-06-25 1997-06-25 Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program Expired - Fee Related JP3036468B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9167804A JP3036468B2 (en) 1997-06-25 1997-06-25 Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9167804A JP3036468B2 (en) 1997-06-25 1997-06-25 Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program

Publications (2)

Publication Number Publication Date
JPH1115683A JPH1115683A (en) 1999-01-22
JP3036468B2 true JP3036468B2 (en) 2000-04-24

Family

ID=15856425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9167804A Expired - Fee Related JP3036468B2 (en) 1997-06-25 1997-06-25 Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program

Country Status (1)

Country Link
JP (1) JP3036468B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5601473B2 (en) * 2011-01-13 2014-10-08 日本電気株式会社 Shared resource management system and shared resource management method

Also Published As

Publication number Publication date
JPH1115683A (en) 1999-01-22

Similar Documents

Publication Publication Date Title
US5913227A (en) Agent-implemented locking mechanism
US5161227A (en) Multilevel locking system and method
JP3882930B2 (en) Managing virtual machines to use shared resources
US6959291B1 (en) Management of a concurrent use license in a logically-partitioned computer
US5682530A (en) Hierarchical resource management method
JP3074636B2 (en) Parallel computer system
US7047337B2 (en) Concurrent access of shared resources utilizing tracking of request reception and completion order
US5454108A (en) Distributed lock manager using a passive, state-full control-server
US7174552B2 (en) Method of accessing a resource by a process based on a semaphore of another process
US7100161B2 (en) Method and apparatus for resource access synchronization
JPH1165863A (en) Common resource managing method
JPH02195453A (en) File access control system
US9088569B2 (en) Managing access to a shared resource using client access credentials
JP3036468B2 (en) Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program
US20040243751A1 (en) Method for resource access co-ordination in a data processing system, data processing system and computer program
JP2856761B2 (en) Resource lock management device
JP2002175286A (en) Storage device, information processing system and exclusive control method
JPH04223533A (en) Common resource exclusive control system
KR20230174931A (en) System having multiple operation systems and operating method therefor
JPS62232064A (en) Deadlock prevention system for distributed data base system
Li et al. Performance studies of shared-nothing parallel transaction processing systems
JPH04116731A (en) Exclusive control for shared resources
Bernabéu-Aubán et al. ATLANTA, GA 30332-0280 (USA)
JPH04178845A (en) File management system
JPH0327446A (en) Queue access system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080225

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090225

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100225

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110225

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120225

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130225

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees