JPH09251413A - Lock controller and method therefor - Google Patents

Lock controller and method therefor

Info

Publication number
JPH09251413A
JPH09251413A JP8060578A JP6057896A JPH09251413A JP H09251413 A JPH09251413 A JP H09251413A JP 8060578 A JP8060578 A JP 8060578A JP 6057896 A JP6057896 A JP 6057896A JP H09251413 A JPH09251413 A JP H09251413A
Authority
JP
Japan
Prior art keywords
lock
user
deadlock
program
data
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
JP8060578A
Other languages
Japanese (ja)
Inventor
Kumiko Yagi
久美子 八木
Yoji Yamashita
洋史 山下
Nozomi Hirose
望 廣瀬
Hideo Takahashi
英男 高橋
Kenichi Chatani
謙一 茶谷
Miyoko Kawamura
美代子 川村
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 JP8060578A priority Critical patent/JPH09251413A/en
Publication of JPH09251413A publication Critical patent/JPH09251413A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To detect the deadlock that is caused when the data are operated in a data base system without giving any load to the data base system nor making a user interrupt the processing under execution. SOLUTION: If a lock acquisition means 302 is unable to immediately acquire a lock against the lock acquisition request given from a user, the means 302 starts a deadlock decision means 305. The means 305 checks a standby user table 306 to decide whether a deadlock occurs when the lock acquisition request is waited for. When the deadlock occurs, the acceptance of the lock acquisition request is rejected. When no deadlock occurs, a fact that the user who issued the lock acquisition request is waiting for the opening of lock is notified to the table 306 of the user who acquires the lock to a lock table 307 of the data 314. Then a deadlock is detected.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータ上の記
録保管システムの一つであるデータベースシステム上の
データへのロック操作方法に関し、特にデッドロックを
検出する方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a lock operation method for data on a database system which is one of record storage systems on a computer, and more particularly to a method for detecting a deadlock.

【0002】[0002]

【従来の技術】コンピュータ上の記録保管システムの一
つにデータベースシステムがある。データベースシステ
ムは、データベースの記録保管場所であるディスクにデ
ータを蓄積しておき、多くのユーザが必要な時にデータ
にアクセスして情報を得たり、情報を保管しておくこと
が出来る。データベースシステムでは、蓄積されたデー
タに対して参照や更新を行なう時、複数のユーザ間で同
時に行なうことが出来る。
2. Description of the Related Art A database system is one of the record keeping systems on a computer. The database system stores data in a disk, which is a database storage area, and many users can access the data to obtain information or store information when needed. In the database system, when referring to or updating the accumulated data, it is possible for a plurality of users to perform the updating at the same time.

【0003】更新などを行なうと、更新データが失われ
る可能性があり、データベースシステムではこのような
状況を防止するために、更新中または参照中のデータへ
の他のユーザの操作を排他管理する手段としてロック制
御手段を設けている。すなわち、ユーザは、データ操作
をする際には、ロック制御手段を介して操作対象のデー
タをロックし、他のユーザが同時に当該データの操作を
行なうことが出来ないようにする。そして、データ操作
が終了した時点で、ロック制御手段を介して操作対象の
データのロックを解除し、他のユーザが当該データの操
作を行なえるようにする。このように、ロック制御手段
を設け、ロック操作を行なうことにより、操作対象のデ
ータを排他管理することが出来るようになる。
When updating or the like is performed, the updated data may be lost. In order to prevent such a situation, the database system exclusively manages the operation of other users on the data being updated or referred to. Lock control means is provided as means. That is, when the user operates the data, the user locks the data to be operated via the lock control means so that other users cannot operate the data at the same time. Then, when the data operation is completed, the lock of the operation target data is released via the lock control means so that another user can operate the data. As described above, by providing the lock control means and performing the lock operation, it becomes possible to exclusively manage the operation target data.

【0004】ロック制御手段を設けることにより、複数
ユーザが同時に同じデータを操作することがなくなる
が、その反面デッドロックの発生という問題が生じる。
デッドロックとは、複数のユーザがそれぞれお互いの所
有しているデータの解放を待っており、そのデータを取
得出来ないために処理を行なうことの出来ない状態であ
る。例えば、ユーザAがデータaへのロックを取得し、
ユーザBがデータbへのロックを取得していて、ユーザ
Bがデータaへのロック取得要求を発行し、ユーザAが
データbへのロック取得要求を発行すると、両ユーザが
お互いの取得しているデータへのロックの解放を待ち続
けている状態になり、デッドロックが発生する。デッド
ロックが発生すると、ユーザの処理を続行することが出
来なくなるため、データベースシステムはデッドロック
の発生を未然に防ぐか、または、デッドロック発生を検
知し、デッドロックの原因となっているロック取得要求
をキャンセルする。
By providing the lock control means, a plurality of users do not operate the same data at the same time, but on the other hand, a problem of deadlock occurs.
A deadlock is a state in which a plurality of users are waiting for the release of data owned by each other, and the processing cannot be performed because the data cannot be acquired. For example, user A acquires a lock on data a,
When the user B has acquired the lock on the data b, the user B issues a lock acquisition request on the data a, and the user A issues a lock acquisition request on the data b, both users acquire each other. A deadlock occurs because it keeps waiting for the lock to be released on the existing data. When a deadlock occurs, the user's processing cannot continue, so the database system either prevents the deadlock from occurring or detects the deadlock and acquires the lock that causes the deadlock. Cancel the request.

【0005】このようなデッドロックに対する対策方法
として知られている技術として、例えば、全ロック取得
要求をもとにしたデッドロック回避方法(前川 守 著
「ソフトウエア実行/開発環境」,pp.194−19
9,岩波書店,平成五年)、ロック取得要求時のデッド
ロック回避方法(Andrew S. Tanenabaum 著 ,坂本
文 監修,大西照代 翻訳 「MINIXオペレーティン
グ・システム」,pp.161,アスキー出版局,平成三
年)、要求発生後一定時間経過してからのデッドロック
検出方法(霜田 徹,川名 信行,稲津 利司基 共著
「OpenVMS」,pp.143−146,共立出版社,平
成六年)などの文献に開示される大きく三つの技術があ
る。従来のデータベースシステムで、これらの技術のう
ちのいずれか一つを選択的に採用している。
As a technique known as a countermeasure against such deadlock, for example, a deadlock avoidance method based on all lock acquisition requests (Mamoru Maekawa)
"Software Execution / Development Environment", pp.194-19
9, Iwanami Shoten, 1993), Method of avoiding deadlock when requesting lock acquisition (Andrew S. Tanenabaum, Supervised by Saka text, Translated by Teruyo Onishi "MINIX Operating System", pp.161, ASCII Publishing, Heisei 3 Years), deadlock detection method after a certain time has passed after the request was issued (Tohru Shimoda, Nobuyuki Kawana, Riki Inazu)
There are three major technologies disclosed in the literature such as “OpenVMS”, pp.143-146, Kyoritsu Publisher, 1994). The conventional database system selectively employs any one of these techniques.

【0006】全ロック取得要求をもとにしたデッドロッ
ク回避方法は、ユーザがロック取得要求を発行する前
に、全ロック取得要求に関する情報を集めておくことを
特徴とする方法である。この方法では、ます、各ユーザ
が行なうだろう全ロック取得要求を集めたデッドロック
グラフをデッドロック回避手段が作成する。ユーザから
のロック取得要求が発行されると、デッドロック回避手
段は上記デッドロックグラフを解析し、デッドロックに
なるかどうかを判定する。デッドロックにならないと判
定した場合には、上記デッドロックグラフに当該ユーザ
がロックを取得または、取得要求を発行した旨を記録す
る。デッドロックになると判定した場合には、デッドロ
ック制御手段がその要求を受け付けない。
The deadlock avoidance method based on the all lock acquisition request is a method characterized in that information about all lock acquisition requests is collected before the user issues the lock acquisition request. In this way, the deadlock avoider creates a deadlock graph that gathers all lock acquisition requests that each user will make. When a lock acquisition request is issued from the user, the deadlock avoidance means analyzes the deadlock graph and determines whether a deadlock occurs. When it is determined that the deadlock does not occur, the fact that the user has acquired the lock or issued the acquisition request is recorded in the deadlock graph. When it is determined that deadlock will occur, the deadlock control means does not accept the request.

【0007】ロック取得要求時のデッドロック回避方法
は、ユーザがデータへのロック取得要求を発行する度に
デッドロック検出手段が、デッドロックを検出しロック
取得要求をキャンセルすることを特徴とする方法であ
る。この方法では、ユーザがデータへのロック取得要求
を発行すると、デッドロック検出手段がデッドロックグ
ラフを更新する。そして、更新したデッドロックグラフ
をデッドロック検出手段がたどって、デッドロックが発
生していないか判定する。デッドロックになると判定し
た場合には、デッドロック検出手段がその要求を受け付
けない。
A deadlock avoidance method at the time of a lock acquisition request is characterized in that the deadlock detection means detects a deadlock and cancels the lock acquisition request every time the user issues a lock acquisition request to data. Is. In this method, when a user issues a lock acquisition request for data, the deadlock detection means updates the deadlock graph. Then, the updated deadlock graph is traced by the deadlock detection means to determine whether or not a deadlock has occurred. When it is determined that a deadlock will occur, the deadlock detection means does not accept the request.

【0008】要求発生後一定時間経過してからのデッド
ロック検出方法は、一定時間経過してもロックを取得で
きない要求について、デッドロック検出手段がデッドロ
ック発生を検出し、ロック取得要求をキャンセルするこ
とを特徴とする方法である。この方法によれば、ユーザ
がデータへのロック取得要求を発行してから一定時間経
過してもロックを取得できない場合に、デッドロック検
出手段は、デッドロック可能性があると判定し、デッド
ロック検出を行なう。デッドロックが検出されると、デ
ッドロックの原因となっているユーザからのロック取得
要求をキャンセルし、デッドロックを解消させる。
In the deadlock detection method after a lapse of a fixed time after the request is generated, the deadlock detecting means detects the occurrence of the deadlock and cancels the lock acquisition request for the request in which the lock cannot be acquired even after the lapse of the fixed time. It is a method characterized by that. According to this method, the deadlock detection unit determines that there is a possibility of deadlock when the lock cannot be acquired within a certain time after the user issues a lock acquisition request to the data, and the deadlock is detected. Perform detection. When a deadlock is detected, the lock acquisition request from the user causing the deadlock is canceled to eliminate the deadlock.

【0009】[0009]

【発明が解決しようとする課題】全ロック取得要求をも
とにしたデッドロック回避方法を用いた場合には、デッ
ドロック回避手段がデッドロックグラフを作成する時
に、各ユーザ発行する全ロック取得要求先のデータ情報
が必要である。それを全ユーザに対して考えると全デー
タ間でデッドロックが生じる可能性もあるので、この条
件は現実のデータベースシステムには適用が困難である
といった問題がある。
When the deadlock avoidance method based on the all lock acquisition request is used, all the lock acquisition requests issued by each user when the deadlock avoidance means creates a deadlock graph. Previous data information is needed. Considering this to all users, there is a possibility that deadlock will occur between all data, so there is a problem that this condition is difficult to apply to an actual database system.

【0010】また、2番目のロック取得要求時のデッド
ロック回避方法を用いた場合には、ユーザがロック取得
要求を発行してもロック制御手段がすぐロック取得を実
行できない時、デッドロック回避手段が全てのロックの
情報が記入してある複雑なデッドロックグラフを更新し
たり、保持したりするので、データベースシステムに負
荷がかかるという問題がある。
In addition, when the deadlock avoidance method at the time of the second lock acquisition request is used, when the lock control means cannot immediately execute the lock acquisition even if the user issues the lock acquisition request, the deadlock avoidance means. Has a problem that the database system is overloaded because it updates and holds a complex deadlock graph in which all lock information is filled.

【0011】最後に、3番目の要求発生後一定時間経過
してからのデッドロック検出方法を用いた場合には、ロ
ック取得要求が発生後一定時間経過しないと、デッドロ
ックの検出が出来ず、従って、その間ユーザの処理は中
断してしまう問題がである。
Finally, when the deadlock detection method is used after a fixed time has elapsed after the third request is issued, the deadlock cannot be detected until a fixed time has elapsed after the lock acquisition request is issued. Therefore, there is a problem that the processing of the user is interrupted during that time.

【0012】本発明の目的は、上述した問題点を解決し
て、処理を中断するユーザを少くし、データベースシス
テムに負荷をかけずに、デッドロック対策を行なう方法
を提供することである。
An object of the present invention is to solve the above-mentioned problems, to provide a method for reducing the number of users interrupting the processing, and taking measures against deadlock without imposing a load on the database system.

【0013】[0013]

【課題を解決するための手段】上記課題を解決するため
に本発明のロック制御装置では、ユーザがデータへのロ
ック取得要求を発行すると、ロックの取得や解放及びキ
ャンセルなどの操作を行なうロック制御手段が、データ
へのロックを取得できるかどうかをロックを取得してい
るユーザとロック解放待ちユーザと解放待ち開始時間を
格納するロックテーブルを用いて判定する。
In order to solve the above problems, in the lock control device of the present invention, when a user issues a lock acquisition request to data, lock control is performed to perform operations such as acquisition, release and cancellation of the lock. The means determines whether or not the lock to the data can be acquired by using the lock table that stores the user who acquires the lock, the lock release waiting user, and the release wait start time.

【0014】ロック制御手段が、データへのロックをす
ぐに取得できない時には、ロック制御手段から起動さ
れ、デッドロックの発生を検出するデッドロック判定手
段が、ロックを取得しているユーザごとにそのロックの
解放を待っているユーザを記載してある待機ユーザテー
ブルを用いて、デッドロック発生検出を開始する。
When the lock control means cannot immediately acquire the lock to the data, the deadlock determining means activated by the lock control means and detecting the occurrence of the deadlock determines the lock for each user who has acquired the lock. The deadlock occurrence detection is started using the waiting user table that describes the users waiting for the release of the deadlock.

【0015】ロック取得要求発行後、一定時間経過して
もロック取得が完了しない時、ロック取得要求をキャン
セルするためにタイムアウトキャンセル手段が、定期的
に起動される。
When the lock acquisition is not completed within a certain time after issuing the lock acquisition request, the timeout canceling means is periodically activated to cancel the lock acquisition request.

【0016】上記構成によれば、以下のような作用があ
る。
According to the above construction, there are the following effects.

【0017】ユーザがデータへのロック取得要求を発行
後、ロック制御手段がロック取得要求のデータのロック
テーブルにロックを取得しているユーザが格納されてい
るかどうかを調べる。ロックを取得しているユーザが格
納されていない時は、ロック制御手段はロック取得の実
行をすぐ出来るので、データへのロックを取得する。ロ
ックを取得しているユーザが格納されている時は、ロッ
ク制御手段がロック取得の実行をすぐ出来ずに待つの
で、ロック制御手段は、デッドロック判定手段を起動す
る。
After the user issues the lock acquisition request to the data, the lock control means checks whether or not the user acquiring the lock is stored in the lock table of the data of the lock acquisition request. When the user who acquires the lock is not stored, the lock control means can immediately execute the lock acquisition, and thus acquires the lock to the data. When the user who has acquired the lock is stored, the lock control means waits for execution of the lock acquisition immediately, and therefore the lock control means activates the deadlock determination means.

【0018】デッドロック判定手段は、待機ユーザテー
ブルを調べ、当該データへのロックを既に取得している
ユーザが、ロック取得要求を発行しているユーザがロッ
クを取得している別のデータの解放を待機しているかど
うかを調べる。待機しているならば、ユーザがロック取
得要求の実行を待っているとデッドロックが発生するの
で、デッドロック判定手段はユーザにデッドロックが発
生することを通知し、当該データへのロック取得要求を
キャンセルする。待機していないならば、デッドロック
判定手段は当該データへのロックの解放を待機している
ユーザが存在することを当該データへのロックを取得し
ているユーザの待機ユーザテーブルに記載する。その
後、デッドロック判定手段は、ロック制御手段にデッド
ロックは発生しないことを通知し、ロック制御手段はロ
ック取得要求の実行を待つ。
The deadlock determination means examines the waiting user table, and a user who has already acquired the lock to the data releases the other data for which the user who issued the lock acquisition request has acquired the lock. Find out if you are waiting for. If the user is waiting, a deadlock will occur if the user is waiting for the execution of the lock acquisition request. Therefore, the deadlock determination means notifies the user that the deadlock will occur, and the lock acquisition request for the data. To cancel. If not waiting, the deadlock determination means describes in the waiting user table of the user who has acquired the lock to the data that the user waiting to release the lock to the data exists. Thereafter, the deadlock determination means notifies the lock control means that no deadlock occurs, and the lock control means waits for execution of the lock acquisition request.

【0019】上述したように、ユーザがデータへのロッ
ク取得要求発行後に、デッドロック判定手段がデッドロ
ック発生の判定をするので、ロック取得要求を発行した
ユーザはロック取得実行を待って、処理を中断する必要
が無くなる。
As described above, after the user issues the lock acquisition request to the data, the deadlock determination means determines that a deadlock has occurred. Therefore, the user who issued the lock acquisition request waits for the lock acquisition execution and performs the processing. No need to interrupt.

【0020】また、デッドロック判定手段はデッドロッ
ク判定を行なう時、全てのロック情報を含んでいるデッ
ドロックグラフを用いる代わりに、ユーザごとに当該ユ
ーザがデータへのロックを解放するのを待つているユー
ザを書き込んだテーブルである待機ユーザテーブルをを
使って検出できるデッドロック検出を行なっているの
で、全ロック情報を調べる必要がなく、その結果、デー
タベースシステムの負荷を抑えることが出来る。
Further, when the deadlock decision means makes a deadlock decision, instead of using a deadlock graph containing all lock information, the deadlock decision means waits for each user to release the lock to the data. Since the deadlock detection that can be detected by using the standby user table that is the table in which the user who has written is performed, it is not necessary to check all the lock information, and as a result, the load on the database system can be suppressed.

【0021】[0021]

【発明の実施の形態】以下、この発明の第一実施例を説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION A first embodiment of the present invention will be described below.

【0022】図1は、ユーザプログラム311がデータ
314へのロック取得要求を発行しても既にデータ31
4へのロックを取得しているユーザプログラム311が
いるためにすぐにロック取得が出来ない時に、待機ユー
ザテーブル306を用いてデッドロックが発生するかど
うかを判定するデッドロック判定プログラムを備えたデ
ータベースシステムの一実施例を示す図である。
FIG. 1 shows that even if the user program 311 issues a lock acquisition request to the data 314, the data 31
A database including a deadlock determination program that determines whether a deadlock occurs by using the standby user table 306 when the lock cannot be acquired immediately because there is a user program 311 that has acquired the lock to 4 It is a figure which shows one Example of a system.

【0023】このデータベースシステムは、データ31
4の記録保管場所としてのディスク313と、そのディ
スク313を共有しネットワーク310を介してつなが
っている複数のコンピュータ309と、コンピュータ3
09上でロック取得要求を発行するユーザプログラム3
11と、各コンピュータ309上で発行したロック取得
要求を一元管理するロック管理コンピュータ309に、
各コンピュータ309上で発行したロック取得要求をメ
ッセージとして送信するロック通信プログラム312
と、ロック管理コンピュータ309でそのメッセージを
受けて、ロック制御プログラム301のロック取得プロ
グラム302、ロックキャンセルプログラム303、ロ
ック解放プログラム304のどれを実行するかを解析す
るロック操作要求受け付けプログラム300と、ロック
管理コンピュータ309でロック取得要求を実行するロ
ック取得プログラム302と、ロック取得プログラム3
02がロック取得をすぐに実行できるかどうかを調べる
データ314のロックテーブル307と、ロック取得を
すぐに実行できず待つ時起動するデッドロック判定プロ
グラム305と、ユーザプログラム311ごとにどのユ
ーザプログラム311が処理の終了を待機しているかを
表している待機ユーザテーブル306と、デッドロック
判定プログラム305で検出出来なかったデッドロック
をタイムアウトによりキャンセルするタイムアウトキャ
ンセルプログラム308とから成っている。
This database system uses data 31
A disk 313 serving as a record storage location of the computer 4, a plurality of computers 309 sharing the disk 313 and connected via a network 310,
User program 3 for issuing a lock acquisition request on 09
11 and the lock management computer 309 that centrally manages the lock acquisition request issued on each computer 309.
A lock communication program 312 that transmits a lock acquisition request issued on each computer 309 as a message
The lock management computer 309 receives the message and analyzes which of the lock acquisition program 302, the lock cancellation program 303, and the lock release program 304 of the lock control program 301 is to be executed, and the lock operation request acceptance program 300, and the lock. A lock acquisition program 302 that executes a lock acquisition request in the management computer 309, and a lock acquisition program 3
The lock table 307 of the data 314 that checks whether 02 can execute the lock acquisition immediately, the deadlock determination program 305 that is started when waiting for the lock acquisition that cannot be executed immediately, and which user program 311 is executed for each user program 311 It is composed of a waiting user table 306 indicating whether or not to wait for the end of processing, and a timeout cancel program 308 for canceling a deadlock that could not be detected by the deadlock determination program 305 by a timeout.

【0024】待機ユーザテーブル306は、各ユーザプ
ログラム311のロックを取得しているデータ名400
と当該ユーザプログラム311のデータ314へのロッ
ク解放を待機しているユーザプログラムID401から
成っている。
The standby user table 306 has a data name 400 that acquires the lock of each user program 311.
And a user program ID 401 waiting for the lock release of the user program 311 to the data 314.

【0025】ロックテーブル307は、データ名400
と当該データ314へのロックを取得しているユーザプ
ログラム311のユーザプログラムID402とロック
取得要求が実行できずにロック解放を待機してるユーザ
プログラムID403と待機しているユーザプログラム
311が待機を開始した時間404から成っている。
The lock table 307 has a data name 400
And the user program ID 402 of the user program 311 that has acquired the lock to the data 314, the user program ID 403 that is waiting for the lock release because the lock acquisition request cannot be executed, and the user program 311 that is waiting for the lock start. It consists of time 404.

【0026】第1の実施例では、ロック管理コンピュー
タ309に待機ユーザテーブル306を設け、ロック取
得要求をすぐ実行できないユーザープログラム311が
待機ユーザテーブル306を参照することにより、ロッ
ク取得要求が実行できるまで待っていた場合、デッドロ
ックの発生要因になるかどうかを判定し、発生要因にな
らない場合はロック取得が完了するまで待ち、発生要因
になる場合はロック取得要求を実行しないことによっ
て、デッドロックを回避できる所に特徴がある。
In the first embodiment, the lock management computer 309 is provided with the standby user table 306, and the user program 311 that cannot immediately execute the lock acquisition request refers to the standby user table 306 until the lock acquisition request can be executed. If it is waiting, determine whether it will be a cause of deadlock.If it is not a cause, wait until the lock acquisition is completed, and if it is a cause, deadlock is executed by not executing the lock acquisition request. The feature is that it can be avoided.

【0027】次に、上述したデータベースシステムにお
いて、デッドロック回避処理手順を図1の構成図と図
2、図3、図4、図5のフローチャート、図8、図9の
テーブル図に基づいて説明する。
Next, in the above-mentioned database system, the deadlock avoidance processing procedure will be described with reference to the configuration diagram of FIG. 1, the flowcharts of FIGS. 2, 3, 4, and 5 and the table diagrams of FIGS. To do.

【0028】ユーザが複数のユーザで共有するデータへ
の書き込みや読み込みの操作を実行する時に、ユーザプ
ログラム311が当該データ314へのロック取得要求
を発行する。
When the user executes a write operation or a read operation for data shared by a plurality of users, the user program 311 issues a lock acquisition request for the data 314.

【0029】データ314へのロック操作要求を発行し
たユーザプログラム311のコンピュータ309が、ロ
ック管理コンピュータ309以外の時は、次の処理を最
初に実行する。それぞれのコンピュータ309内のユー
ザプログラム311がデータ314へのロック操作要求
を発行し、それぞれロック通信プログラム312を起動
し、ネットワーク310を介してロック取得要求をロッ
ク管理コンピュータ309に送信する。ロック管理コン
ピュータ309のロック操作要求受け付けプログラム3
00がコンピュータ309からのロック操作要求メッセ
ージを受ける。
When the computer 309 of the user program 311 which has issued the lock operation request to the data 314 is other than the lock management computer 309, the following processing is executed first. The user program 311 in each computer 309 issues a lock operation request to the data 314, activates each lock communication program 312, and transmits a lock acquisition request to the lock management computer 309 via the network 310. Lock operation request acceptance program 3 of lock management computer 309
00 receives the lock operation request message from the computer 309.

【0030】ロック操作要求受け付けプログラム300
または、ロック操作要求を発行したコンピュータ309
とロック管理コンピュータ309が同じ時はユーザプロ
グラム311が、ロック制御プログラム301のどのプ
ログラムを実行するかを解析する。以下、両場合ともロ
ック操作要求受け付けプログラム300と呼ぶ。
Lock operation request acceptance program 300
Alternatively, the computer 309 that issued the lock operation request
And the lock management computer 309 are the same, the user program 311 analyzes which program of the lock control program 301 is executed. Hereinafter, both cases will be referred to as a lock operation request acceptance program 300.

【0031】ロック制御プログラム301から、呼ばれ
るロックキャンセルプログラム303は、データ314
へのロック取得要求をユーザプログラム311が発行し
てもロック取得できない時にタイムアウトキャンセルプ
ログラム308からタイムアウトキャンセルの通知があ
ったときや、その他の理由からユーザプログラムが発行
したロック取得要求をキャンセルする時に起動される。
The lock cancel program 303 called from the lock control program 301 receives the data 314.
Start when the lock acquisition request is issued by the user program 311 but the lock cannot be acquired even when the user program 311 issues a lock cancellation request, or when the lock acquisition request issued by the user program is canceled for other reasons. To be done.

【0032】ロック制御プログラム301から、呼ばれ
るロック解放プログラム304は、ユーザプログラム3
11がデータ314への操作を終了し、当該データ31
4へのロックを解放する時に起動される。
The lock release program 304 called from the lock control program 301 is the user program 3
11 completes the operation on the data 314, and the data 31
Fired when releasing the lock to 4.

【0033】上述した2つのロックキャンセルプログラ
ム303とロック解放プログラム304は、本発明が解
決しようとする課題とは関係ないので、ここでの説明は
行なわない。
The above-mentioned two lock cancel programs 303 and lock release programs 304 are not related to the problem to be solved by the present invention, and therefore will not be described here.

【0034】ロック制御プログラム301から、呼ばれ
るロック取得プログラム302時は、以下のような手順
で操作を行なう。
When the lock acquisition program 302 is called by the lock control program 301, the operation is performed in the following procedure.

【0035】ロック操作要求受け付けプログラム300
は、ロック取得操作のフローチャート図2を用いて以下
のように行われる。
Lock operation request acceptance program 300
Is performed as follows using the flowchart of the lock acquisition operation shown in FIG.

【0036】ロック取得プログラム302を起動する。
(ステップ1)ロック取得プログラム302は、ロック
取得要求先データ314のロックテーブル307にロッ
クがあるかどうかを判定する(ステップ2)。ロックが
ない時は、ロックテーブル307にユーザプログラムI
D401とデータ名400を記入し、当該データ314
へのロックを取得する(ステップ2)。ロック操作要求
受け付けプログラム300にロック取得完了を通知して
処理を終了する(ステップ1)。
The lock acquisition program 302 is activated.
(Step 1) The lock acquisition program 302 determines whether or not there is a lock in the lock table 307 of the lock acquisition request destination data 314 (step 2). When there is no lock, the user program I is stored in the lock table 307.
Enter D401 and data name 400, and enter the data 314
To get a lock (step 2). The lock operation request acceptance program 300 is notified of the lock acquisition completion, and the process is terminated (step 1).

【0037】ロックがある時は、デッドロック判定プロ
グラム305とタイムアウトキャンセルプログラム30
8を起動する(ステップ3、ステップ4)。タイムアウ
トキャンセルプログラム308は、ロックテーブル30
7の解放待ち時間がタイムアウト制限時間を過ぎている
かどうかをチェックし、(ステップ6)過ぎている時に
はロック取得プログラム302にタイムアウトキャンセ
ル通知を送って(ステップ4)終了する。もしくは、ロ
ック取得プログラム302からロック取得完了の通知が
来たら(ステップ4)終了する。
When there is a lock, the deadlock judgment program 305 and the timeout cancellation program 30
8 is activated (steps 3 and 4). The timeout cancel program 308 is the lock table 30.
It is checked whether the release waiting time of 7 has exceeded the timeout limit time (step 6), and if it has passed (step 6), a timeout cancellation notice is sent to the lock acquisition program 302 (step 4) and the processing ends. Alternatively, when the lock acquisition program 302 notifies the lock acquisition completion (step 4), the process ends.

【0038】上記で起動されたデッドロック判定プログ
ラム305は、待機ユーザテーブル306より、データ
へのロックを取得しているユーザプログラム311がロ
ック取得要求を発行したユーザプログラム311を待っ
ているかどうかを判定する(ステップ5)。待っている
場合には、ロック取得プログラム302にデッドロック
発生通知を送る(ステップ3)。
The deadlock judgment program 305 started above judges from the waiting user table 306 whether or not the user program 311 which has acquired the lock to the data is waiting for the user program 311 which issued the lock acquisition request. (Step 5). When waiting, a deadlock occurrence notification is sent to the lock acquisition program 302 (step 3).

【0039】待っていない場合には、ロック取得要求を
発行しているユーザプログラム311をロック取得要求
先データ314へのロックを取得しているユーザプログ
ラム311の待機ユーザテーブル306に記入し、(ス
テップ5)ロック取得プログラム302にデッドロック
が発生していないことを通知する(ステップ3)。
When not waiting, the user program 311 issuing the lock acquisition request is entered in the standby user table 306 of the user program 311 acquiring the lock to the lock acquisition request destination data 314, and (step 5) Notify the lock acquisition program 302 that no deadlock has occurred (step 3).

【0040】ロック取得プログラム302は、デッドロ
ック判定プログラム305からデッドロック発生の通知
を受けた場合には、(ステップ3)ロック操作要求受け
付けプログラム300にデッドロック発生通知を送り終
了する(ステップ1)。
When the lock acquisition program 302 receives a deadlock occurrence notification from the deadlock determination program 305 (step 3), it sends a deadlock occurrence notification to the lock operation request acceptance program 300 and ends (step 1). .

【0041】デッドロック判定プログラム305からの
通知がデッドロックが発生していないことである場合
は、タイムアウトキャンセルプログラム308からの通
知を待つ。当該通知がタイムアウトキャンセルである場
合は、ロック操作要求受け付けプログラム300にタイ
ムアウトを通知し(ステップ1)終了する(ステップ
3)。
If the notification from the deadlock judgment program 305 is that a deadlock has not occurred, the notification from the timeout cancel program 308 is waited for. If the notification is a timeout cancellation, the lock operation request acceptance program 300 is notified of the timeout (step 1) and the process ends (step 3).

【0042】タイムアウトキャンセル通知を待つ間にロ
ックテーブル307へのロックが解放されると、ロック
取得プログラム302がロックテーブル307へのロッ
クを取得し、(ステップ2)タイムアウトキャンセルプ
ログラム308とロック操作要求受け付けプログラム3
00にロック取得完了を通知し(ステップ4、ステップ
1)終了する。
When the lock on the lock table 307 is released while waiting for the timeout cancel notification, the lock acquisition program 302 acquires the lock on the lock table 307, and (step 2) the timeout cancel program 308 and the lock operation request acceptance. Program 3
00 is notified of lock acquisition completion (step 4, step 1), and the process ends.

【0043】上述した実施例では、ユーザプログラム3
11が発行したロック取得要求をロック取得プログラム
302がすぐに実行出来ない時に、デッドロック判定プ
ログラム305が、管理コンピュータ309内にある待
機ユーザテーブル306を、一般に用いるデッドロック
グラフの代わりに用いてデッドロック判定を行なってい
る。管理コンピュータ309内に一括して待機ユーザテ
ーブル306として、ユーザプログラム311の処理の
終了を待機しているユーザプログラム311を記載した
情報を管理する代わりに、図6に示すのように、それぞ
れのユーザプログラム311内にそのユーザの処理の終
了を待機しているユーザプログラムID401とデータ
名400を記録しておく待機ユーザテーブル315を設
けてもよい。
In the above embodiment, the user program 3
When the lock acquisition program 302 cannot immediately execute the lock acquisition request issued by 11, the deadlock determination program 305 uses the standby user table 306 in the management computer 309 instead of the deadlock graph that is generally used. Lock judgment is performed. Instead of managing the information in which the user programs 311 waiting for the end of processing of the user programs 311 are collectively stored as the standby user table 306 in the management computer 309, as shown in FIG. A standby user table 315 may be provided in the program 311 in which the user program ID 401 waiting for the end of the user's processing and the data name 400 are recorded.

【0044】また、ロック取得要求先のデータ314へ
のロックが、すぐに取得できない時に送信するメッセー
ジの送信先をデータ314へのロックを取得しているユ
ーザプログラム311と、既に同じデータ314の解放
を待機しているユーザプログラム311全てにしたり、
ロック取得の実行を待つ時、次にそのデータ314への
ロックを取得できる順番で待ち始める場合のみ、データ
314へのロックを取得しているユーザプログラム31
1にしたり、ロック取得の実行を待つ場合に、ロックの
解放を待機しているユーザプログラム311の中で次に
そのデータ314へのロックを取得できる順番になった
ら、当該データ314へのロックを取得しているユーザ
プログラム311にしたりする例も考えられる。
Further, the lock of the lock acquisition request destination data 314 is the same as the user program 311 which has acquired the lock of the data 314 as the transmission destination of the message to be transmitted when the lock cannot be acquired immediately. All the user programs 311 waiting for
The user program 31 that acquires the lock on the data 314 only waits for the execution of the lock acquisition, and then starts in the order in which the lock on the data 314 can be acquired next.
When setting 1 or waiting for the execution of lock acquisition, when it becomes the order in which the next lock of the data 314 can be acquired in the user program 311 waiting for the lock release, the lock of the data 314 is acquired. An example in which the acquired user program 311 is used is also conceivable.

【0045】上述の実施例では、ロック取得要求を一元
管理するロック管理コンピュータを決めてロック管理を
行なっていたが、ディスク内のデータ毎にデータのマス
タコンピュータとしてそのデータを管理するコンピュー
タを決めて、そのデータへのロック操作要求の管理は全
て、そのコンピュータ内で行なうようにしてもよい。第
2の実施例では、分散してロックの管理を行なう実施例
をあげる。
In the above-described embodiment, the lock management computer that centrally manages the lock acquisition request is determined to perform the lock management. However, for each data in the disk, the computer that manages the data is determined as the master computer of the data. The management of the lock operation request for the data may be all performed in the computer. In the second embodiment, an embodiment in which locks are distributed and managed will be described.

【0046】第2の実施例では、図7よりそれぞれのコ
ンピュータ309内のユーザプログラム311がデータ
314へのロック操作要求を発行し、データ314のマ
スタコンピュータ309がロック操作要求を発行したユ
ーザプログラム311のコンピュータ309と異る時、
それぞれロック通信プログラム312を起動し、ネット
ワーク310を介してロック取得要求をロック取得要求
先のデータ314のマスタコンピュータ309に送信す
る。マスタコンピュータ309のロック操作要求受け付
けプログラム300がコンピュータ309からのロック
操作要求メッセージを受ける。
In the second embodiment, as shown in FIG. 7, the user program 311 in each computer 309 issues a lock operation request to the data 314, and the master computer 309 of the data 314 issues the lock operation request to the user program 311. When different from the computer 309 of
The lock communication program 312 is activated respectively, and the lock acquisition request is transmitted to the master computer 309 of the data 314 of the lock acquisition request destination via the network 310. The lock operation request acceptance program 300 of the master computer 309 receives the lock operation request message from the computer 309.

【0047】ロック操作要求プログラム300が、ロッ
ク制御プログラム301のどのプログラムを実行するか
を解析する。ここでも、ロック取得プログラム302の
場合のみを説明する。
The lock operation request program 300 analyzes which program of the lock control program 301 is executed. Here again, only the case of the lock acquisition program 302 will be described.

【0048】第2の実施例では、ロック取得プログラム
302がロックテーブル307へのロック取得をすぐ実
行出来ない時、ロック取得プログラム302は、デッド
ロック判定プログラム305を起動し(ステップ3)、
デッドロック判定プログラム305は、ロック操作要求
受け付けプログラム300内で管理しているロック取得
要求を発行したユーザプログラム311の待機ユーザテ
ーブル315を調べ(ステップ5)、ロック取得要求先
のデータ314をロック取得しているユーザプログラム
311が、ロック取得要求を発行したユーザプログラム
311の処理の終了を待機しているかどうかを判定す
る。
In the second embodiment, when the lock acquisition program 302 cannot immediately acquire the lock to the lock table 307, the lock acquisition program 302 activates the deadlock determination program 305 (step 3),
The deadlock determination program 305 checks the standby user table 315 of the user program 311 that issued the lock acquisition request managed in the lock operation request acceptance program 300 (step 5), and acquires the lock acquisition request destination data 314. It is determined whether or not the user program 311 that is currently executing waits for the end of the processing of the user program 311 that issued the lock acquisition request.

【0049】待機していない時は、デッドロックは発生
していないのでロック取得の完了を待つ。その際、デッ
ドロック判定プログラム305は、ロック通信プログラ
ム312を起動し(ステップ6)、ロックテーブル30
7へのロックを取得しているユーザプログラム311
に、ロック取得要求を発行したユーザプログラム311
がロックテーブル307のロックの解放を待っていると
いうメッセージを送る。メッセージを受けたユーザプロ
グラム311は、各ユーザプログラム311内の待機ユ
ーザテーブル315でその情報を管理する。
When not waiting, since deadlock has not occurred, the completion of lock acquisition is waited for. At that time, the deadlock determination program 305 activates the lock communication program 312 (step 6), and the lock table 30
User program 311 that has acquired the lock to 7
The user program 311 that issued the lock acquisition request
Sends a message that it is waiting for the lock in the lock table 307 to be released. The user program 311 having received the message manages the information in the standby user table 315 in each user program 311.

【0050】待機している時は、デッドロックが発生す
るので、デッドロック判定プログラム305はロック操
作要求受け付けプログラム300にデッドロック発生を
通知する(ステップ3)。
Since deadlock occurs while waiting, the deadlock determination program 305 notifies the lock operation request acceptance program 300 of the occurrence of deadlock (step 3).

【0051】また、ロック取得要求先のデータ314へ
のロックが、すぐに取得できない時に送信するメッセー
ジの送信先をデータ314へのロックを取得しているユ
ーザプログラム311と、既に同じデータ314の解放
を待機しているユーザプログラム311全てにしたり、
ロック取得の実行を待つ時に、次にそのデータ314へ
のロックを取得できる順番で待ち始めたユーザプログラ
ム311だけ、データ314へのロックを取得している
ユーザプログラム311にしたり、ロック取得実行を待
つ場合に、ロックの解放を待機しているユーザプログラ
ム311の中で次にそのデータ314へのロックを取得
できる順番になったら、データ314へのロックを取得
しているユーザプログラム311にしたりする例も考え
られる。
Also, the lock of the lock acquisition request destination data 314 is already released to the user program 311 that has acquired the lock to the data 314 as the transmission destination of the message to be transmitted when the lock cannot be acquired immediately. All the user programs 311 waiting for
When waiting for the execution of the lock acquisition, only the user program 311 which has begun to wait in the order in which the lock for the data 314 can be acquired next becomes the user program 311 which acquires the lock for the data 314, or waits for the execution of the lock acquisition. In this case, in the user program 311 waiting for the release of the lock, when it becomes the order in which the lock for the data 314 can be acquired next, the example in which the user program 311 that acquires the lock for the data 314 is used Can also be considered.

【0052】ロックの取得がすぐに出来ない時、ロック
取得要求先のデータの解放を待機していると、デッドロ
ック状態が発生するかを判定してから、待機するかどう
かを決定するので、デッドロックを回避することが出来
る。
When a lock cannot be acquired immediately and waiting for the release of the data of the lock acquisition request destination, it is determined whether a deadlock condition occurs, and then it is determined whether or not to wait. Deadlock can be avoided.

【0053】[0053]

【発明の効果】ユーザがデータへのロック取得要求発行
後に、デッドロック判定手段がデッドロック発生の判定
をするので、ロック取得要求を発行したユーザはロック
取得実行を待って、処理を中断する必要が無くなる。
As described above, since the deadlock determination means determines that a deadlock has occurred after the user issues the lock acquisition request to the data, the user who issued the lock acquisition request must wait for the lock acquisition execution and interrupt the processing. Disappears.

【0054】デッドロック判定手段はデッドロック判定
を行なう時、全てのロック情報を含んでいるデッドロッ
クグラフを用いる代わりに、ユーザごとに当該ユーザが
データへのロックを解放するのを待っているユーザを書
き込んだテーブルである待機ユーザテーブルを使って検
出できるデッドロック検出を行なっているので、全ロッ
ク情報を調べる必要がなく、その結果、データベースシ
ステムの負荷を抑えることが出来る。
When the deadlock decision means makes a deadlock decision, instead of using the deadlock graph containing all the lock information, the user waiting for each user to release the lock to the data. Since the deadlock detection that can be detected using the standby user table that is the table in which is written, it is not necessary to check all lock information, and as a result, the load on the database system can be suppressed.

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

【図1】ロック管理コンピュータ内でロック情報と待機
ユーザテーブルを一元管理するデータベースシステムの
構成図である。
FIG. 1 is a configuration diagram of a database system that centrally manages lock information and a standby user table in a lock management computer.

【図2】図1におけるロック操作要求受け付けプログラ
ムのフローチャートである。
FIG. 2 is a flowchart of a lock operation request acceptance program in FIG.

【図3】図1におけるロック取得プログラムのフローチ
ャートである。
FIG. 3 is a flowchart of a lock acquisition program in FIG.

【図4】図1におけるデッドロック判定プログラムのフ
ローチャートである。
FIG. 4 is a flowchart of a deadlock determination program in FIG.

【図5】図1におけるタイムアウトキャンセルプログラ
ムのフローチャートである。
5 is a flowchart of a timeout cancel program in FIG.

【図6】ロック管理コンピュータ内でロック情報を一元
管理し、待機ユーザテーブルはユーザプログラムごとに
管理するデータベースシステムの構成図である。
FIG. 6 is a configuration diagram of a database system in which lock information is centrally managed in a lock management computer and a standby user table is managed for each user program.

【図7】データを管理するマスタコンピュータを決め、
データへのロック情報はそのコンピュータ内で管理する
データベースシステムの構成図である。
FIG. 7: Determines a master computer that manages data,
Data lock information is a block diagram of a database system managed in the computer.

【図8】待機ユーザテーブルの構成図である。FIG. 8 is a configuration diagram of a standby user table.

【図9】ロックテーブルの構成図である。FIG. 9 is a configuration diagram of a lock table.

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

300…ロック操作要求受け付けプログラム、301…
ロック制御プログラム、 302…ロック取得プロ
グラム、303…ロックキャンセルプログラム、304
…ロック解放プログラム、305…デッドロック判定プ
ログラム、306…ユーザ待機プログラム、307…ロ
ックテーブル、 308…タイムアウトキャンセルプ
ログラム、309…コンピュータ、 310…ネッ
トワーク、311…ユーザプログラム、 312…ロッ
ク通信プログラム、313…ディスク、 31
4…データ、315…ロック操作要求受け付けプログラ
ム内で管理している待機ユーザテーブル。
300 ... Lock operation request acceptance program, 301 ...
Lock control program, 302 ... Lock acquisition program, 303 ... Lock cancel program, 304
... lock release program, 305 ... deadlock determination program, 306 ... user waiting program, 307 ... lock table, 308 ... timeout cancel program, 309 ... computer, 310 ... network, 311 ... user program, 312 ... lock communication program, 313 ... Disc, 31
4 ... data, 315 ... standby user table managed in the lock operation request acceptance program.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 高橋 英男 神奈川県川崎市幸区鹿島田890番地の12株 式会社日立製作所情報・通信開発本部内 (72)発明者 茶谷 謙一 神奈川県川崎市幸区鹿島田890番地の12株 式会社日立製作所情報・通信開発本部内 (72)発明者 川村 美代子 神奈川県川崎市幸区鹿島田890番地の12株 式会社日立製作所情報・通信開発本部内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hideo Takahashi 12 stock companies at 890 Kashimada, Sachiku-ku, Kawasaki City, Kanagawa Prefecture Hitachi, Ltd. 12 shares of Hitachi, Ltd. information and communication development headquarters at number 890 (72) Inventor Miyoko Kawamura 12 shares of Hitachi, Ltd. information and communication development headquarters at 890 Kashimada, Saiwai-ku, Kawasaki, Kanagawa

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ロック情報を一元管理しているコンピュー
タと、ロックを取得しているユーザとロック解放待ちユ
ーザと解放待ち開始時間を格納するロックテーブルと、
ユーザからのロック操作要求を受けて当該操作をロック
テーブルを用いて行なうロック制御手段と、ロックを取
得しているユーザごとにそのロックの解放を待っている
ユーザやデータを記載してあり、ロック情報を管理して
いるコンピュータ内に記録してある待機ユーザテーブル
と、ロック取得プログラムがロック取得操作をすぐに実
行できない時にロック取得プログラムから起動され、待
機ユーザテーブルを用いてデッドロックの発生を検出し
たり、そのデータへのロックの解放を待機しているユー
ザを記入するデッドロック判定手段と、ロック取得要求
発行後、一定時間経過した要求をキャンセルするために
定期的に起動されるタイムアウトキャンセル手段とを有
することを特徴とするロック制御装置。
1. A computer that centrally manages lock information, a lock table that stores a user who has acquired a lock, a lock release waiting user, and a release wait start time.
A lock control means for receiving a lock operation request from the user and performing the operation using the lock table, and a user and data waiting for the release of the lock for each user who has acquired the lock are described. The waiting user table recorded in the computer that manages the information and the lock acquisition program that is started when the lock acquisition program cannot immediately execute the lock acquisition operation, and detects the occurrence of deadlock using the standby user table Deadlock determination means for entering the user waiting to release the lock to the data, and timeout canceling means that is periodically activated to cancel the request after a certain time has elapsed after issuing the lock acquisition request. A lock control device comprising:
JP8060578A 1996-03-18 1996-03-18 Lock controller and method therefor Pending JPH09251413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8060578A JPH09251413A (en) 1996-03-18 1996-03-18 Lock controller and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8060578A JPH09251413A (en) 1996-03-18 1996-03-18 Lock controller and method therefor

Publications (1)

Publication Number Publication Date
JPH09251413A true JPH09251413A (en) 1997-09-22

Family

ID=13146281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8060578A Pending JPH09251413A (en) 1996-03-18 1996-03-18 Lock controller and method therefor

Country Status (1)

Country Link
JP (1) JPH09251413A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015075871A (en) * 2013-10-08 2015-04-20 株式会社リコー Exclusive control program, information processing apparatus, and exclusive control method
JP2017534994A (en) * 2014-11-18 2017-11-24 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, system, and computer program for managing exclusive control of shareable resources between multiple concurrently executing threads

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015075871A (en) * 2013-10-08 2015-04-20 株式会社リコー Exclusive control program, information processing apparatus, and exclusive control method
JP2017534994A (en) * 2014-11-18 2017-11-24 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, system, and computer program for managing exclusive control of shareable resources between multiple concurrently executing threads

Similar Documents

Publication Publication Date Title
EP0618532B1 (en) Deadlock detecting device
JP2691081B2 (en) Computer network
JP3268534B2 (en) Computer system for managing syncpoints of protected resources
US5896141A (en) System and method for virtual device access in a computer system
US5748959A (en) Method of conducting asynchronous distributed collective operations
JPH086840A (en) Mechanism for judgment of completion of directory operation for server recovery
JPH06301588A (en) Transaction processing synchronizing method and commit processing method for transaction
EP1099164A1 (en) Methods and apparatus for processing administrative requests of a distributed network application executing in a clustered computing environment
US20140068201A1 (en) Transactional memory proxy
JPH06103132A (en) Method of parallel control
US5377351A (en) Device for controlling multiple transactions contending concurrently for the same resource in a distributed database system
KR20040104467A (en) Most eligible server in a common work queue environment
JPH1124973A (en) Distributed transaction matching method and machine readable recording medium to store program
JP4009192B2 (en) Efficient timer management system
US7401081B2 (en) Method and apparatus for providing storage control in a network of storage controllers
JPH09251413A (en) Lock controller and method therefor
JP3734206B2 (en) Agent dialogue management method, computer and storage medium
JPS63228335A (en) Event information and reception processing system in computer system
JP3681415B2 (en) Deadlock detection device
JPH11203193A (en) Shared memory management device and method
JP2000163345A (en) Device control system, information registering method, device utilizing method and storage medium recording computer program
JPH04124754A (en) Communication message buffer controller
JP2834036B2 (en) Lock controller
JPH09288608A (en) File sharing controller in distributed processing system
JP2000293385A (en) System and method for thread management and recording medium with management program recorded thereon