JPS6151245A - Deadlock detecting method in sequential request of resource - Google Patents

Deadlock detecting method in sequential request of resource

Info

Publication number
JPS6151245A
JPS6151245A JP59171550A JP17155084A JPS6151245A JP S6151245 A JPS6151245 A JP S6151245A JP 59171550 A JP59171550 A JP 59171550A JP 17155084 A JP17155084 A JP 17155084A JP S6151245 A JPS6151245 A JP S6151245A
Authority
JP
Japan
Prior art keywords
resource
serialization
request
deadlock
pid
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
JP59171550A
Other languages
Japanese (ja)
Inventor
Hiroaki Miyanishi
宮西 博彰
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP59171550A priority Critical patent/JPS6151245A/en
Publication of JPS6151245A publication Critical patent/JPS6151245A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To prevent generation of deadlock state by providing a process identification table PID, a PID header and pointer so as to detect the possibility of deadlock state in advance when a sequential request of resource is issued. CONSTITUTION:Process identification tables PID14a-14d are connected to a PID header provided in the inside of a cental vector table CVT3 in an optional sequence. Further, the PID14a-14d represent a process of resource sequential request issue and is used to represent the relation between the process having a resource use right and the standby process. The PID14a-14d are formed by each one to a process issuing the resource sequential request and PID pointers 15a- 15d corresponding to the process being a cause are set in the PID when the process is in the resource standby state. Then, whether or not the pointer is in a loop is checked to detect the possibility of deadlock state generation in advance thereby preventing the deadlock from being generated.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は、多重プログラミング計算機システムにおけ
る資源の逐次化要求のさいのデッドロック検出方法に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a deadlock detection method during a resource serialization request in a multiple programming computer system.

〔従来技術〕[Prior art]

従来、多重プログラミング環境下の計算機システムにお
いて、任意資源の逐次化の方法として第1図に示すもの
があった。この第1図は、任意の取りきめにより任意の
名前をつけた任意資源に対して、独立した処理単位であ
る複数のプロセスの各々が、その対象となる資源の排他
的使用を目的として、その資源の逐次化要求を発行した
場合における逐次化の方法を示したもので、逐次化資源
の資源名に対して、当該逐次化資源の要求者であるプロ
セスをキューイングすることにより逐次化する方法であ
る。この第1図において、 (la)、(lb)は、逐
次化要求を発行するプロセス、(Ja) 、 (2b)
は逐次化要求をなされた任意資源を代表する制御f−1
,!1/QcB(キュー・コントロール・ブロック)(
3)はシステムの中心制御テーブルであるCvT(セン
トラル・ペクタ・テーブル)、(りは。CB(2a) 
、 (:lb)をキューイングするヘッダ、(5a)。
Conventionally, in a computer system under a multiple programming environment, there has been a method shown in FIG. 1 for serializing arbitrary resources. Figure 1 shows how each process, which is an independent processing unit, uses an arbitrary resource given an arbitrary name according to an arbitrary arrangement, with the aim of making exclusive use of the resource. This shows the method of serialization when a resource serialization request is issued, and the method is to serialize the resource name of the serialized resource by queuing the process that requests the serialized resource. It is. In this Figure 1, (la) and (lb) are processes that issue serialization requests, (Ja) and (2b)
is the control f-1 representing the arbitrary resource for which the serialization request was made.
,! 1/QcB (queue control block) (
3) is the central control table of the system, CvT (Central Vector Table), (riha. CB (2a)
, a header queuing (:lb), (5a).

(、tb)、 (tυ、(sd)はjt源の逐次化要求
を発行したプロセスに対して資源の使用に対する優先順
位、要求の条件等を示すQKL(キュ・エレメント・リ
ス・トンで、要求資源に対応するQCB(2a)、 (
sb)に逐次化の順序に従ってキューイングされる。(
6)はプロセスAの資源e、 、(7)はプロセスBの
資源eユ、C1,)はプロセスへの資源e2、(9)は
プロセスBの資源e、に対する獲得要求を各々示し、(
10)はプロセスへの資源e、 、(//)はプロセス
Bの資源e、、(tx)はプロセスへの資源e、 、(
tJ )はプロセスBの資源e、に対する解放要求を各
々示す。
(, tb), (tυ, (sd) is a QKL (QKL) that indicates the priority of resource use, request conditions, etc. for the process that issued the jt source serialization request. QCB (2a) corresponding to the resource, (
sb) according to the order of serialization. (
6) is the resource e of process A, (7) is the resource e of process B, C1,) is the resource e2 to the process, (9) is the acquisition request for the resource e of process B, and (
10) is the resource e to the process, , (//) is the resource e of process B, , (tx) is the resource e to the process, , (
tJ) respectively indicate process B's release request for resource e.

そして、資源の逐次化は、資源の獲得で開始し、力了放
で終了する。第1図においてプロセスAは資源e、を(
6) 〜Cl0)、資源e1を(ff) 〜(/コ)の
間で逐次化を要求し、プロセスBハ資源e、 ラフ  
  3″〜(′υ・資7°・+<n−<ttン0間1″
次化を要求する。
The serialization of resources begins with the acquisition of resources and ends with the release of resources. In Figure 1, process A has resource e, (
6) ~Cl0), requests serialization of resource e1 between (ff) and (/), and process B requests resource e, rough
3″~(′υ・ 7°・+<n-<ttn0~1″
Request for further development.

次に動作について説明する。第1図でプロセス(la)
、プロセスB(lb)が、資源ei+erに対して逐次
化要求を発行したものとする。すなわち、プロセスA(
la)、プロセスB(lb)が、(6)。
Next, the operation will be explained. Figure 1 shows the process (la)
, process B (lb) issues a serialization request for resource ei+er. That is, process A (
la), process B (lb) is (6).

(7) 、 CI)の順に、逐次化要求であるENQマ
クロを発行したものとする。システムの中心制御テーブ
ルであるCVT (,7)のQCBヘッダ(りに遂次化
要求の対象である資源を示す資源e2. e、のQCB
(−2a) 、 (コb)が作成され、逐次化要求を発
行したプロセスと資源使用の優先順位を要求の条件を示
すプロセスAのQEL(ja)、(yc)、プロセスB
のQKL(Jb、)が各々の逐次化要求の発行時に作成
される。逐次化要求資源を示すQCB(’2a) 、 
(,2b)の先頭に夫々に接続されているQEL(5a
)のプロセスAが資源e7、QEL(Jb)のプロセス
Bが5[eユの使用権を各々持ち、QEL(、!rb)
の後方に接続されているQEL(!rd)のプロセスA
は資源eユに対して待ち状態となる。この時点で、資源
eユの使用権を持っているプロセスBが、当該資源eユ
の使用権を放棄するDEQマクロ(//)を発行すると
、プロセスBの資源eユの使用権を示すQFL(Jb)
が削除され、プロセスAのQEL(、td)が、前記資
源e、のQCB(ユb)の先頭のQELとなり、資源e
ユの使用権な得て待ち′状態から解放されることになる
It is assumed that ENQ macros, which are serialization requests, are issued in the order of (7) and CI). QCB header of CVT (,7) which is the central control table of the system (QCB of resource e2.e, which indicates the resource that is the target of the serialization request
(-2a), (cob) are created, and the process that issued the serialization request and the QEL of process A that indicates the priority of the request and the conditions of the request (ja), (yc), process B
QKL(Jb,) is created at the time of issuing each serialization request. QCB ('2a) indicating serialization request resource,
QEL (5a) connected to the beginning of (,2b) respectively
)'s process A has resource e7, QEL(Jb)'s process B has resource e7, and QEL(,!rb) has the usage right of 5[eyu].
Process A of QEL (!rd) connected to the back of
is in a waiting state for the resource e. At this point, when process B, which has the right to use the resource e, issues a DEQ macro (//) to relinquish the right to use the resource, a QFL indicating process B's right to use the resource e is issued. (Jb)
is deleted, and the QEL (,td) of process A becomes the first QEL of the QCB (yub) of the resource e, and the
You will be released from the waiting state for the right to use the service.

この様にして任意資源の逐次化が冥現される。In this way, the serialization of arbitrary resources is realized.

どころが従来の資源逐次化処理方法においては、プロセ
スA(la)、プロセスB(lb)が、資源e、’、e
:Lに対して、(す、(7’)Aざ) 、 (?)の順
で、逐次化要求を発行した場合には、生成されるQcB
However, in the conventional resource serialization processing method, process A (la) and process B (lb)
:When serialization requests are issued to L in the order of (su, (7')Aza), (?), the generated QcB
.

Qiの関係が第f図に示したものとなり、プロセスAが
資源e7.プロセスBが資源e1の使用権を持チ、プロ
セスAが資源eユ、プロセスBが資源e 。
The relationship of Qi is as shown in Figure f, and process A uses resources e7. Process B has the right to use resource e1, process A has the right to use resource e, and process B has the right to use resource e.

の使用権を得ることを待つこととなる。すなわち、第1
図で示した順番忙よる逐次化要求においては、最終的に
プロセスAがプロセスBの使用資源を待ち、プロセスB
がプロセスAの使用資源を待つデッドロック状態を発生
させることになる。この様なデッドロック状態は、爾ユ
歯で示すような、複数プロセスCCおける複雑な遂次化
要求の結果としても発生ずることがある。伊なゎち、第
2図(a)において例示されているダ個のプロセスA、
B、CおよびDにおいて、先ずプロセスAにおいて資源
e、の要求を発行し、次いでプロセスBにおいて資源e
Jの要求を発行し、以下同様にして、■、■。
They will have to wait until they receive the right to use it. That is, the first
In the sequential serialization request shown in the figure, process A ultimately waits for process B's resources, and process B
will cause a deadlock situation in which process A waits for resources to be used. Such deadlock conditions can also occur as a result of complex serialization requests in multiple process CCs, as shown in Figure 3. Inawachi, the number of processes A illustrated in FIG. 2(a),
In B, C, and D, process A first issues a request for resource e, and then process B issues a request for resource e.
Issuing request J, and so on, ■, ■.

■・・・■の順序で所定の要求を発行したものとすると
、プロセスAはプロセスBに使用権のある資源eユを待
ち、プロセスBはプロセスCに使用権のある資源e3を
待ち、プロセスCはプロセスDに使用権のある資源e7
を待ち、そしてプロセスDはプロセスAK使用権のある
資源e、を待つことになり、結局、第二図(b)に示さ
れるようなデッドロック状態が発生する。この様なデッ
ドロック状態の発生を防止するためには、逐次化要求の
要求者側で、資源を要求する順番を取りきめることカー
必要であり、又、デッドロック状態が発生した後では、
待ち時間の計測による強制解除の手段をとる必要がある
など、このデッドロックに関しては欠点があった。
Assuming that the predetermined requests are issued in the order of ■...■, process A waits for the resource eU that process B has the right to use, process B waits for the resource e3 that process C has the right to use, and the process C is resource e7 that process D has the right to use.
The process D then waits for the resource e that the process AK has the right to use, resulting in a deadlock situation as shown in FIG. 2(b). In order to prevent such a deadlock situation from occurring, it is necessary for the requester of the serialization request to determine the order in which resources are requested, and after a deadlock situation has occurred,
There were drawbacks to this deadlock, such as the need to forcefully release it by measuring the waiting time.

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

この発明は、上記のような従来の方法の欠点な除去する
ためになされたもので、資源の逐次化要求の発行時に、
デッドロック状態発生の可能性を事前に検出し、デッド
ロック状態の発生それ自体を防止することを可能にする
検出法を提供することを目的としている。
This invention was made in order to eliminate the drawbacks of the conventional method as described above, and when issuing a resource serialization request,
It is an object of the present invention to provide a detection method that detects in advance the possibility of a deadlock situation occurring and makes it possible to prevent the deadlock situation itself from occurring.

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

以下、この発明の方法を第3図について説明する。この
第3図において、(2a)、(コb)、(コc)。
The method of the invention will now be explained with reference to FIG. In this FIG. 3, (2a), (b), and (c).

(ユd)は、逐次化要求の対象である資源を代表する制
御テーブルQCB、(3)はシステムの中心制御テーブ
ルであるCVT、(りは、前記QCBをキューイングす
るヘッダ、Da) 、 (&b) 、 (tc) 、 
(rd) 。
(Ud) is a control table QCB representing the resource that is the target of the serialization request, (3) is CVT which is the central control table of the system, (Ri is a header for queuing the QCB, Da), ( &b), (tc),
(rd).

De) 、 Of) 、 Dg) 、 Oh)は、逐次
化要求のなされた資源に対する使用の優先順位、要求の
条件、要求発行プロセスを示すポインタを持つQllf
iLで、各々対応する資源のQCBにキューイングされ
る。
De), Of), Dg), Oh) are Qllf with pointers indicating the priority of use for the resource for which the serialization request was made, the conditions of the request, and the request issuing process.
iL, each resource is queued in the QCB of its corresponding resource.

(/Fa)、(/fb)、(/Fc)、(/+d)は資
源に対して9     逐次化要求を発行したプロセス
を示す制御テーブルPIDで、CVT(3,)の内部に
設けられているPIDヘッダ(tS)に任意の順序で接
続される。
(/Fa), (/fb), (/Fc), and (/+d) are control table PIDs that indicate processes that have issued 9 serialization requests for resources, and are provided inside CVT (3,). PID headers (tS) in any order.

PID(プロセス識別テーブルンは、資源の逐次化要求
発行のプロセスを示すとともに、資源の使用権を持つプ
ロセスと待ち状態にあるプロセスとの関係を示す為に使
用される。(ltaJ 、 (/&b) 。
PID (Process identification table is used to indicate the process that issues the resource serialization request, as well as to indicate the relationship between the process that has the right to use the resource and the process that is in the waiting state. (ltaJ, (/&b) ).

(ltc) 、 (lya)は、プロセス間での待ちの
関係を示すポインタである。
(ltc) and (lya) are pointers indicating the waiting relationship between processes.

次に動作について説明する。第3図において、プロセス
A、B、C,Dは資源e、、 e、、 e、、 e。
Next, the operation will be explained. In FIG. 3, processes A, B, C, and D have resources e,, e,, e,, e.

に対して以下のような逐次化要求を発行する。先ず、プ
ロセス人が資源e、に対して、プロセスBが資源eJに
対して、プロセスCが資源eJに対して、そして、プロ
セスDが資源e7に対してそれぞれ順次に逐次化要求を
発行する。資源e 1 + 82 。
Issue the following serialization request to . First, a process person issues a serialization request to resource e, process B to resource eJ, process C to resource eJ, and process D to resource e7, respectively. Resource e 1 + 82.

e、、e、を代表するQCB(ユa)、(ユb)、(−
Ze)、(ユd)、および、資源使用の優先順位を示す
QEL(ra)ないしくyh)については、プロセスA
が資源e、を、プロセスBが資源eユな、プロセスCI
J″−資源e、を、そして、プロセスDが資源eやを持
っていることが示されている。又、後述されるPID(
lta)。
QCB (yu a), (yu b), (-
For process A
has resource e, process B has resource e, process CI
It is shown that the process D has the resource e, and the PID (to be described later)
lta).

(lりb)、(/グc) 、 (/グd)との関係より
、プロセスAが資源e、を、プロセスBが資源e3を、
プロセスCが資源θヶを、そして、プロセスDが資源e
、 ヲ待つ状態であることが示されている。この状態は
、複数のプロセスが相互に資源を待ち合うデッドロック
状態である。このようなデッドロック状態はプロセスD
が資源e7に対して逐次化要求を発行した時点で発生す
るものである。このデッドロック状態を検出する為に、
資源を要求するプロセスを示すP ID (/1lta
) 、 (/Fb) 、 C/1lc) 、 (/!、
d)を資源の逐次化要求を発行したプロセスに対して各
々1個作成し、このP ID内にプロセスが資源待ちの
状態になる場合の原因となるプロセス、すなわち、待ち
の資源に対して使用権を持っているプロセスに対応する
Pl、Dへのポインタ(isa) 、 (tsb)<t
rc) 、 Ct左6)をセットする。そして、このP
ID内の前記ボイ/り(/j−a) 、 (/、tb)
 、 (/70)、(/&d)がループ状態にあるかど
うかを調査することにより、デッドロック状態を検出す
ることができる。
From the relationship between
Process C has resource θ, and process D has resource e.
, it is shown that it is in a waiting state. This state is a deadlock state in which multiple processes wait for each other's resources. Such a deadlock situation occurs when process D
This occurs when a request for serialization is issued to resource e7. To detect this deadlock condition,
P ID (/1lta) indicating the process requesting the resource
), (/Fb), C/1lc), (/!,
d) is created for each process that issued a resource serialization request, and in this P ID is used for the process that causes the process to be in a resource waiting state, that is, for the waiting resource. Pl, pointer to D corresponding to the process that has the right (isa), (tsb)<t
Set rc) and Ct left 6). And this P
Said boy/ri in ID (/j-a), (/, tb)
, (/70), (/&d) are in a loop state, a deadlock condition can be detected.

今、プロセスDfJ″−質源e、に対する逐次化要求を
発行する前の段階にあるものとする。このときには、プ
ロセスAに対応するポインタ(lta)はプロセスBの
Pより(141b)を指し、プロセスBに対応するポイ
ンタ(/ffb)はプロセスCのPID(l+c)を指
し、ぞして、プロセスCに対応するポインタ(ltc)
はプロセスDのPID(/4(d、)を指している。こ
〜で、プロセスDが資源e、に対して逐次化要求を発行
すると、プロセスDに対応するポインタ(/1cl)は
プロセスAのPID(/*a)を指すことになり、ルー
プ状態が成立して、デッドロックが検出されることにな
る。このようにしてデッドロックが検出された場合には
、その最終原因となったプロセス(今の例ではプロセス
D)の要求を許可することなく、エラーを報告する。
Assume that we are now at a stage before issuing a serialization request for process DfJ''-source e.At this time, the pointer (lta) corresponding to process A points to (141b) from P of process B, The pointer (/ffb) corresponding to process B points to the PID (l+c) of process C, and then the pointer (ltc) corresponding to process C
points to the PID (/4(d,)) of process D.Here, when process D issues a serialization request for resource e, the pointer (/1cl) corresponding to process D is transferred to process A. This means that a loop condition is established and a deadlock is detected.If a deadlock is detected in this way, the final cause of it is Reports an error without granting the request of the process (process D in this example).

一般に、資源の逐次化要求としては、高速化を計るため
、任意資源を1名、副名に階層化□する方式や、要求条
件として、排他使用の他に共用使用条件を設けて、同時
に同一資源に対して等位の使用権を持った複数のプロセ
スが存在することを許容する方式があるが、いづれもこ
の発明によるデッドロックの事前検出方法の適用をする
ことが可能である。                
    示す。
In general, requests for serialization of resources include a method of hierarchizing arbitrary resources into one person and a subname in order to speed up the process, or setting a shared use condition in addition to exclusive use as a requirement condition, so that the same resource can be used at the same time. There is a system that allows the existence of a plurality of processes having equal rights to use a resource, and the method for detecting deadlock in advance according to the present invention can be applied to any of them.
show.

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

以上のように、この発明によれば、任意資源に対して、
逐次化要求発行時にテッドロック状態の発生を事前検出
できるので、あらかじめ、資源の要求のIIIQ位を予
測不可能な場合でも何ら他の制限を付けることなく逐次
化要求の発行が可能となる。
As described above, according to the present invention, for arbitrary resources,
Since the occurrence of a tedlock state can be detected in advance when issuing a serialization request, it is possible to issue a serialization request without any other restrictions even if it is impossible to predict the level of resource requests in advance.

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

第1図は、従来の資源逐次化方法の説明図、第2図は、
テッドロック状態発生の説明図、第3図は、この発明の
実施例の資源逐次化方法の説明図である。 2a−ユd ; QCLI(キュー・コントロール・ブ
ロック) 、3 ; CV’L”(セントラル・ベクタ
・テーブル)、り; QCBヘツタ′、ja〜jh;Q
EL(キュー・エレメント・リスト)、lpa・〜/4
’d; PID(プロセス識別テーブルン、lj;PI
Dヘッダ、/ !r a S−/ k d ;ポインタ
、A、B、C。 D;プロセス、e7〜e2;資源。 なお、各図中、同一符号は同−又は相当部分を第1区 第2区 (q) (b) 莞3図
Figure 1 is an explanatory diagram of the conventional resource serialization method, and Figure 2 is
FIG. 3 is an explanatory diagram of the occurrence of a tedlock state, and is an explanatory diagram of the resource serialization method according to the embodiment of the present invention. 2a-yud; QCLI (queue control block), 3; CV'L'' (central vector table), ri; QCB header', ja~jh; Q
EL (cue element list), lpa・~/4
'd; PID (process identification table, lj; PI
D header, /! r a S-/k d; pointer, A, B, C. D; Process, e7-e2; Resource. In each figure, the same reference numerals refer to the same numbers or corresponding parts to the 1st ward, 2nd ward (q) (b) Guan 3 figure

Claims (2)

【特許請求の範囲】[Claims] (1)複数個のプロセスが任意の資源に対して任意の順
序で逐次化要求を行うさいに、ある資源に対して使用権
を現に有しているプロセスと前記資源に対して逐次化要
求を発行して待ち状態に入る別異のプロセスとの関係を
定めておき、資源に対する逐次化要求が発行される毎に
前記関係を調査してデツドロツクの発生の有無を検出す
るようにされた、資源の逐次化要求におけるデツドロツ
ク検出方法。
(1) When multiple processes make serialization requests to any resource in any order, a process that currently has usage rights to a certain resource and a serialization request to the resource are A relationship between a different process that issues a resource and enters a waiting state is determined, and each time a serialization request for a resource is issued, the relationship is examined to detect whether or not a deadlock has occurred. Deadlock detection method for serialization requests.
(2)前記関係の調査の結果、デツドロツクの発生が検
出されたときには、その原因となる逐次化要求を許可せ
ず、エラーを報告するようにされた、特許請求の範囲第
1項記載の資源の逐次化要求におけるデツドロツク検出
方法。
(2) The resource according to claim 1, wherein when the occurrence of deadlock is detected as a result of the investigation of the relationship, the serialization request that causes the deadlock is not permitted and an error is reported. Deadlock detection method for serialization requests.
JP59171550A 1984-08-20 1984-08-20 Deadlock detecting method in sequential request of resource Pending JPS6151245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59171550A JPS6151245A (en) 1984-08-20 1984-08-20 Deadlock detecting method in sequential request of resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59171550A JPS6151245A (en) 1984-08-20 1984-08-20 Deadlock detecting method in sequential request of resource

Publications (1)

Publication Number Publication Date
JPS6151245A true JPS6151245A (en) 1986-03-13

Family

ID=15925203

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59171550A Pending JPS6151245A (en) 1984-08-20 1984-08-20 Deadlock detecting method in sequential request of resource

Country Status (1)

Country Link
JP (1) JPS6151245A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6470838A (en) * 1987-09-11 1989-03-16 Hitachi Ltd Exclusive control system
JPH02113351A (en) * 1988-10-24 1990-04-25 Nec Corp File processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6470838A (en) * 1987-09-11 1989-03-16 Hitachi Ltd Exclusive control system
JPH02113351A (en) * 1988-10-24 1990-04-25 Nec Corp File processor

Similar Documents

Publication Publication Date Title
US5742830A (en) Method and apparatus for performing conditional operations on externally shared data
US5307483A (en) Synchronization instruction for multiple processor network
DE112006002237B4 (en) Method for self-initiating synchronization in a computer system
US6792497B1 (en) System and method for hardware assisted spinlock
EP3788495B1 (en) High-performance streaming of ordered write stashes to enable optimized data sharing between i/o masters and cpus
JP4874165B2 (en) Multiprocessor system and access right setting method in multiprocessor system
US8015363B2 (en) Cache consistency in a multiprocessor system with shared memory
KR20030056656A (en) Apparatus for synchronizing threads in java virtual machine and method therefor
US8224614B2 (en) Generating a combination exerciser for executing tests on a circuit
JPS6151245A (en) Deadlock detecting method in sequential request of resource
US20150100759A1 (en) Pipelined finite state machine
JPS58169659A (en) Shared lock control system
JP2003527652A (en) Minimized use of bus command code points to request start and end of lock
JP5863021B2 (en) Multiprocessor system and control method of multiprocessor system
JP2014182507A (en) Computer, exclusive control method, and exclusive control program
US9916243B2 (en) Method and apparatus for performing a bus lock and translation lookaside buffer invalidation
US20100153610A1 (en) Bus arbiter and bus system
JP2507807B2 (en) Distributed arbitration method
JPH03116260A (en) Spin lock system for multiprocessor system
JPS6145348A (en) Bus priority control system
CN116360966A (en) Method, device and readable storage medium for accessing shared resource
JPH01207833A (en) Exclusive control system
TWI492157B (en) Methods and apparatus for processing interrupt request event
JPS6041157A (en) Bus contention control system
JPS59180747A (en) System for automatically detecting dead lock