JPH0424863A - Information processing system - Google Patents

Information processing system

Info

Publication number
JPH0424863A
JPH0424863A JP12955690A JP12955690A JPH0424863A JP H0424863 A JPH0424863 A JP H0424863A JP 12955690 A JP12955690 A JP 12955690A JP 12955690 A JP12955690 A JP 12955690A JP H0424863 A JPH0424863 A JP H0424863A
Authority
JP
Japan
Prior art keywords
deadlock
communication
lock
processor
register
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
JP12955690A
Other languages
Japanese (ja)
Inventor
Katsuyuki Suzuki
鈴木 勉幸
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 JP12955690A priority Critical patent/JPH0424863A/en
Publication of JPH0424863A publication Critical patent/JPH0424863A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To set the optimum timing for execution of a deadlock interruption by setting freely the initialization value with an instruction for a lock ward access counter of a communication register. CONSTITUTION:A CPU 1-2 produces a test and set instruction in order to have an access to a shared memory 11 while this memory 11 is kept locked by a CPU 1-1. Then the value of a lock word access counter is counted down one by one by a subtractor 6 for the designated word of a communication register 3 every time the reference is given to the register 3 for the lock information on the memory 11. The subtracted value of the counter is sent to a deadlock detection control circuit 7. The circuit 7 detects the deadlock state of the mem ory 11 when the counter value is equal to 0 and reports the lock information on the memory 11 to the CPU that referred to the register 3. Thus this CPU performs a deadlock interruption. As a result, the optimum timing can be set for the deadlock interruption.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理システムに関し、特にマルチプロセッ
サシステムにおける共有資源の排他制御すなわちデッド
ロックの検出制御に係る情報処理システムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing system, and particularly to an information processing system related to exclusive control of shared resources in a multiprocessor system, that is, deadlock detection control.

〔従来の技術〕[Conventional technology]

従来の情報処理システムは、マルチプロセッサシステム
においてプロセッサ間で共を資源をアクセスしようとす
る時、プロセッサ間で同時にアクセスすると矛盾を引き
起こすような場合、あるプロセッサが共有資源をロック
し、これを解除するまでは他のプロセッサのアクセスを
許さないようにする方法がとられるが、この実現のため
にメモリ上に通信エリアを設け、あるプロセッサが共有
資源をアクセスしようとする時は通信エリアにロック情
報を設定し、同じ共有資源をアクセスしようとする別の
プロセッサは、アクセスに先がけて前記通信エリアをチ
エツクし、ロック状態であれば待ち合わせを行ない、ロ
ックされていなければ自らロックしてアクセスするよう
に制御しており。
In conventional information processing systems, when multiple processors try to access a shared resource in a multiprocessor system, if simultaneous access between processors would cause a conflict, one processor locks the shared resource and releases it. Up until now, a method has been used to prevent access by other processors, but to achieve this, a communication area is set up in memory, and when a processor attempts to access a shared resource, lock information is sent to the communication area. Another processor that attempts to access the same shared resource will check the communication area before accessing it, and if it is locked, it will wait, and if it is not locked, it will lock itself and access it. I am.

通信エリアへのアクセスの為のテストアンドセット命令
と呼ばれる命令もサポートされている。共有資源がロッ
クされているか否かを示す手段としては前記通信エリア
内にロックフラグと呼ばれる1ビツトのフラグを設け、
ロックフラグが1ならばロック状態、ロックフラグがO
であるならば非ロツク状態であることを示すようにして
いるものが多い。またプロセッサ間の通信を早く行なう
ため高速にアクセス可能な専用の通信レジスタやメモリ
を有しているシステムもある。これらのプロセッサ間の
通信において重要な問題は、共有資源をロックしてアク
セスしたプロセッサが何らかの原因でロックを解除しな
いようなデッドロック状態に陥ってしまうことがあるこ
とである。デッドロックの検出にはソフトウェアの制御
によりテストアンドセット命令のアクセス回数をカウン
トする方法や、ロック時にアクセスカウント値を初期設
定し、テストアンドセット命令で通信エリアをアクセス
するたびに1を減じていき、0になるとデッドロック割
込を発生させ、強制的にロックされた資源が解放される
ように制御している。従来これらのカウント値にはロッ
ク時に一定の値しか設定されないシステムが多がった。
A command called test and set command for accessing the communication area is also supported. A 1-bit flag called a lock flag is provided in the communication area as a means for indicating whether or not the shared resource is locked.
If the lock flag is 1, it is locked, and the lock flag is O
In many cases, this indicates that the lock is not locked. Additionally, some systems have dedicated communication registers and memory that can be accessed at high speed in order to speed up communication between processors. An important problem in communication between these processors is that a processor that has accessed a shared resource while locking it may fall into a deadlock state in which the processor does not release the lock for some reason. Deadlock can be detected by counting the number of accesses of the test and set command under software control, or by initially setting the access count value at lock time and decrementing it by 1 each time the communication area is accessed by the test and set command. , when it becomes 0, a deadlock interrupt is generated and the locked resources are forcibly released. Conventionally, in many systems, only fixed values are set for these count values at the time of locking.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述−した従来のマルチプロセッサシステムにおける共
有資源のデッドロックの検出制御は、あるプロセッサが
共有資源をロックする時に設定するアクセスカウント値
(以下この値をカウントするカウンタをロックワードア
クセスカウンタと記す)の初期値が常に一定であるので
、プロセッサが実際に共有資源をロックする時間の長さ
に関係なく、他のプロセッサによるデッドロック割込が
行なわれるタイミングが一定となり、プロセッサが共有
資源をロックする時間が短いのに前記初期値が大きな値
であるとデッドロックの検出が遅れたり、また逆にプロ
セッサが共有資源をロックする時間が長いのに前記初期
値が小さな値であるとプロセッサが共有資源を使用中に
デッドロック割込が行なわれてしまうこともあるという
欠点がある。
Deadlock detection control for shared resources in the conventional multiprocessor system described above is based on an access count value (hereinafter, a counter that counts this value is referred to as a lock word access counter) that is set when a certain processor locks a shared resource. Since the initial value is always constant, regardless of the length of time that a processor actually locks the shared resource, the timing of deadlock interrupts by other processors is constant, and the amount of time that a processor locks the shared resource is fixed. If the initial value is large even though the processor is short, deadlock detection will be delayed; conversely, if the time it takes for the processor to lock the shared resource is long and the initial value is small, the processor will not be able to lock the shared resource. The drawback is that a deadlock interrupt may occur during use.

また、共有資源をロックしているプロセッサが通常モー
ドである場合と、サービスプロセッサからの指令により
デバッグ等の診断モードである場合を考えると、通常モ
ードのプロセッサが共有資源をロックしている場合は、
通常モードのプロセッサのマシンサイクルが高速である
ため第5図(a)のタイムチャートで示す様にロック状
態の共有資源に対し、別プロセッサがアクセスしようと
してプロセッサ間の通信情報格納手段(以下通信レジス
タと記す)の参照を開始してから前記共有資源のロック
が解除されるまでの時間が長くなることはなく、従って
前記共有資源のロックが解除される前に通信レジスタへ
のアクセス命令によりロックワードアクセスカウンタが
Oにまでカウントダウンされ、デッドロック割込が行な
われることはないが、診断モードのプロセッサが共有資
源をロックしている場合、診断モードのプロセッサのマ
シンサイクルが通常モードのプロセッサのマシンサイク
ルと比較して極めて低速なため、第5図(b)のタイム
チャートで示す様に、通常モードのプロセッサが前記共
有資源をアクセスしようとして通信レジスタの参照を開
始してから前記共有資源のロックが解除されるまでの時
間が非常に長くなり、従って、診断モードのプロセッサ
が前記資源をロックする時に設定するロックワードアク
セスカウンタの初期値を設定しうる最大値としても、診
断モードのプロセッサが前記共有資源を使用中に通信レ
ジスタへのアクセス命令によりロックワードアクセスカ
ウンタがOにまでカウントダウンされ通常モードのプロ
セッサにデッドロック割込をされてしまう欠点がある。
Also, considering the case where the processor that locks the shared resource is in normal mode and the case where it is in diagnostic mode such as debugging due to instructions from the service processor, if the processor in normal mode locks the shared resource, ,
Since the machine cycle of a processor in the normal mode is fast, as shown in the time chart of FIG. It does not take a long time from the start of reference to the shared resource until the shared resource is unlocked, and therefore, the lock word is accessed by accessing the communication register before the shared resource is unlocked. If the access counter counts down to O and no deadlock interrupt occurs, but a processor in diagnostic mode has locked a shared resource, the machine cycle of the processor in diagnostic mode is the same as the machine cycle of the processor in normal mode. As shown in the time chart of FIG. 5(b), the shared resource is locked after the processor in normal mode starts referencing the communication register in an attempt to access the shared resource. It takes a very long time to unlock the resource, and therefore, even if the initial value of the lock word access counter that is set when the processor in diagnostic mode locks the resource is the maximum value that can be set, the processor in diagnostic mode locks the shared resource. There is a drawback that the lock word access counter counts down to O by an access command to the communication register while resources are in use, causing a deadlock interrupt to the processor in the normal mode.

〔課題を解決するための手段〕 本発明の情報処理システムは、複数のプロセッサにより
構成される情報処理システムにおけるプロセッサ間の通
信にかかわる制御情報及びデータを格納する1つまたは
複数個の通信情報格納手段と、該通信情報格納手段に対
し、読み出し、格納及び検査を指示する命令手段と、該
命令手段に応答し、前記通信情報格納手段の内容を検査
し、その結果により前記通信情報格納手段のデッドロッ
ク情報を更新するアクセス制御手段と、前記デッドロッ
ク情報を検査し、デッドロックの発生を検出してプロセ
ッサへ報告するデッドロック検出手段とを有している。
[Means for Solving the Problems] An information processing system of the present invention includes one or more communication information storages for storing control information and data related to communication between processors in an information processing system constituted by a plurality of processors. means for instructing the communication information storage means to read, store, and inspect; and in response to the instruction means, inspecting the contents of the communication information storage means and, based on the result, reading out, storing, and inspecting the communication information storage means; It has access control means for updating deadlock information, and deadlock detection means for inspecting the deadlock information, detecting the occurrence of deadlock, and reporting it to the processor.

更に、本発明の情報処理システムは前記デッドロック検
出手段のプロセッサへのデッドロックの報告を有効/無
効とする1つ以上のモードビットを有している。
Furthermore, the information processing system of the present invention has one or more mode bits that enable/disable the deadlock detection means to report deadlock to the processor.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示す。第1図において、本
実施例は4台のCPUl−1から1−4からなるマルチ
プロセッサシステムであり、この他、通信レジスタアク
セス制御回路2、通信レジスタ3.2個のセレクタ4−
1.4−2.4個のレジスタ5−1.5−2.5−3.
5−4、減算器6、デッドロック検出回路7、デコーダ
8.4個のデッドロック割込マスク回路9−1.9−2
.9−3.9−4、サービスプロセ・ツサ10、共有メ
モリ11から構成されている。なお通信レジスタ3は第
2図で示す様に64ビツト×256ワードのレジスタ群
であり、1ワードは1ビ1.トのロックフラグと31ビ
ツトのロックワードアクセスカウンタと32ビツトの通
信情報エリアから構成されている。
FIG. 1 shows an embodiment of the invention. In FIG. 1, this embodiment is a multiprocessor system consisting of four CPUs 1-1 to 1-4, and also includes a communication register access control circuit 2, 3 communication registers, and two selectors 4-1.
1.4-2.4 registers 5-1.5-2.5-3.
5-4, subtracter 6, deadlock detection circuit 7, decoder 8.4 deadlock interrupt mask circuits 9-1.9-2
.. 9-3.9-4, a service processor 10, and a shared memory 11. The communication register 3 is a register group of 64 bits x 256 words as shown in FIG. 2, and one word is 1 bit 1 . It consists of a 31-bit lock flag, a 31-bit lock word access counter, and a 32-bit communication information area.

次に本実施例の動作を説明する。共有メモリ11に対し
CPUl−1がロックをかける場合、共有メモリ11が
現在非ロツク状態であることを確認するためCPUl−
1は通信レジスタ3に対するアクセス命令(以下テスト
アンドセット命令と記す)を発行し、第3図で示される
命令レジスタ1−1−1へ格納する。テストアンドセ・
ソト命令は第4図で示す様に8ビツトのオペレーション
コードと8ビツトの通信レジスタメモリ内アドレスと1
6ビツトのCPUレジスタメモリ内アドアドレスり構成
されており、CPUレジスタ群1−1−2におけるテス
トアンドセット命令で示されるアドレスより63ビツト
のデータが読み出され、通信レジスタ内アドレスととも
に通信レジスタアクセス制御回路2へ送られる。CPU
レジスタ群1−1−2より読み出される63ビツトのデ
ータは通信レジスタ3へ書き込まれる31ビツトのロッ
クワードアクセスカウンタの初期設定値と32ビツトの
プロセッサ間の通信情報から構成されており、ロックワ
ードアクセスカウンタの初期設定値については、共有資
源をロックするCPUで実行されるタスクがその共有資
源を使用する時間を予め予測したり、過去のデータによ
って解析し、最適な値になるよう設定されている。
Next, the operation of this embodiment will be explained. When CPUl-1 locks the shared memory 11, CPUl-1 locks the shared memory 11 to confirm that the shared memory 11 is currently unlocked.
1 issues an access command (hereinafter referred to as test and set command) to the communication register 3, and stores it in the command register 1-1-1 shown in FIG. test and se
As shown in Figure 4, the software instruction consists of an 8-bit operation code, an 8-bit communication register memory address, and 1.
It consists of a 6-bit address in the CPU register memory, and 63-bit data is read from the address indicated by the test and set instruction in the CPU register group 1-1-2, and the data is accessed to the communication register along with the address in the communication register. The signal is sent to the control circuit 2. CPU
The 63-bit data read from the register group 1-1-2 consists of the initial setting value of the 31-bit lock word access counter written to the communication register 3 and the 32-bit communication information between the processors. The initial values of the counters are set to optimal values by predicting in advance how long a task executed on the CPU that locks the shared resource will use the shared resource, and by analyzing past data. .

通信レジスタアクセス制御回路2はCPUl−1から受
は取ったデータに基づき、アドレス信号202を通じて
通信レジスタ3におけるテストアントセット命令により
示されたアドレスより1ワードのデータを読み出し、ワ
ードにおける口・ツクフラグがOであることを確認し、
アドレス信号202、ライトイネーブル信号203を通
じてワードのロックフラグを1にセ・ン卜する。セレク
タ4−1.4−2はワードが読み出された時の口、ツク
フラグの値が1であることを受けて、それぞれ通信レジ
スタアクセス制御回路2から出力されるロックワードア
クセスカウンタの初期設定値とプロセッサ間通信情報を
選択する。選択された口・ツクワードアクセスカウンタ
の初期設定値とプロセ・フサ間通信情報はロックワード
における指定された領域に書き込まれる。口・ツクフラ
グの値は通信レジスタ3ヘアクセスしたCPUの識別信
号201とともにデコーダ8へ送られ、デコーダ8はC
PUの識別信号201により口・ツクフラグの値を報告
する信号をデコードし、口・ツクフラグの値をCPUl
−1へ送り、報告を受けたCPUl−1はロックフラグ
の値が0であることを確認した後共有メモリ11へのア
クセスを開始する。
Based on the data received from CPU1-1, the communication register access control circuit 2 reads one word of data from the address indicated by the test ant set command in the communication register 3 through the address signal 202, and sets the open/tsuku flag in the word. Confirm that it is O,
The word lock flag is set to 1 through the address signal 202 and write enable signal 203. The selectors 4-1 and 4-2 each receive the initial setting value of the lock word access counter output from the communication register access control circuit 2 in response to the value of the lock flag being 1 when a word is read. and interprocessor communication information. The initial setting value of the selected word/word access counter and the communication information between the processor and the processor are written into the designated area in the lock word. The value of the open/tsuku flag is sent to the decoder 8 together with the identification signal 201 of the CPU that accessed the communication register 3, and the decoder 8
A signal reporting the value of the mouth/tsuku flag is decoded using the identification signal 201 of the PU, and the value of the mouth/tsuku flag is sent to the CPU l.
After receiving the report, the CPU l-1 confirms that the value of the lock flag is 0 and then starts accessing the shared memory 11.

共有メモリ11がCPUl−1により口・ツクされた後
、CPUl−2は共有メモリ11にアクセスしようとし
て共有メモリ11に関するロック情報を通信レジスタ3
へ参照しに行く。通信レジスタアクセス制御回路2はC
PUl−2から受は取ったテストアンドセット命令に従
い、通信レジスタ3の指定されたワードを読み出す。通
信レジスタアクセス制御回路2はワードにおけるロック
フラグが1であることを確認するとワードに対し、ロッ
クフラグについてはそのまま1を、通信情報については
、セレクタ4−2を通じ、読み出した値をそのまま書き
込み、ロックワードアクセスカウンタについては、セレ
クタ4−1を通じ、読み出されたときの値から減算器6
により1カウントダウンした値を書き込む。読み出され
たロックフラグの値はデコーダ8を通じてCPUl−2
へ送られ、CPU1−2は前記ロックフラグの値が1で
あったことを確認した後、共有メモリ11へのアクセス
待ちの状態となる。共有メモリ11がCPUl−1によ
りロックされている間、CPUl−2が共有メモリ11
にアクセスしようとして、テストアンドセット命令を発
行し、共有メモリ11に関するロック情報を通信レジス
タ3へ参照しにいくたびに上述のように通信レジスタ3
における指定されたワードのロックワードアクセスカウ
ンタの値は減算器6により1ずつカウントダウンされ、
その値はデッドロック検出制御回路7へ送られる。デッ
ドロック検出制御回路7は、ロックワードアクセスカウ
ンタの値がOになると共有メモリ11のデッドロック状
態を検出し、共有メモリ11に関するロック情報につい
て通信レジスタ3を参照したCPUへ報告し、報告を受
けたCPUはデッドロック割込を行なう。なおCPUl
−3、CPUl−4が共有メモリ11にアクセスしよう
とする場合も上記と同様なことが行なわれる。
After the shared memory 11 is locked by CPUl-1, CPUl-2 tries to access the shared memory 11 and transfers the lock information regarding the shared memory 11 to the communication register 3.
Go to see. Communication register access control circuit 2 is C
According to the test and set command received from PU1-2, the designated word of the communication register 3 is read out. When the communication register access control circuit 2 confirms that the lock flag in the word is 1, it writes the lock flag to 1 as it is and the communication information to the word through the selector 4-2, writing the read value as it is, and locks the word. As for the word access counter, the subtracter 6 uses the read value through the selector 4-1.
Write the value counted down by 1. The value of the read lock flag is sent to CPU1-2 through decoder 8.
After confirming that the value of the lock flag is 1, the CPU 1-2 enters a state of waiting for access to the shared memory 11. While shared memory 11 is locked by CPUl-1, CPUl-2 locks shared memory 11.
Every time you try to access the communication register 3, issue a test and set instruction, and refer to the lock information regarding the shared memory 11 in the communication register 3, as described above.
The value of the lock word access counter of the specified word in is counted down by 1 by the subtracter 6,
The value is sent to the deadlock detection control circuit 7. The deadlock detection control circuit 7 detects a deadlock state in the shared memory 11 when the value of the lock word access counter becomes O, reports the lock information regarding the shared memory 11 to the CPU that refers to the communication register 3, and receives the report. The deadlocked CPU issues a deadlock interrupt. Note that the CPU
-3, when CPU1-4 attempts to access the shared memory 11, the same thing as above is performed.

別の実施例として第1図と同じ構成でCPUl−1がサ
ービスプロセッサ10からの指令によりデバッグ等の診
断モードでマシンサイクルが非常に遅くなったり命令の
先行制御機能を使わず、逐次実行させたり処理時間が長
くなっている場合、共有資源アクセスに先がけサービス
プロセッサ10は予め4個のデッドロック割込マスク回
路9−1〜9−4へデッドロック割込マスク信号を送っ
ておき、信号を受けたデッドロック割込マスク回路9−
1〜9−4はデッドロック検出制御回路7から受は取る
デッドロック検出信号をマスクする。マスク後は前述の
実施例のようにテストアンドセット命令でロックワード
アクセスカウンタの値がOになってもデッドロック検出
制御回路7から出力されるデッドロック検出信号はCP
Uへは送られず、デッドロック割込も行なわれることは
ない。
As another example, in the same configuration as shown in FIG. 1, the CPU 1-1 is in a diagnostic mode such as debugging due to commands from the service processor 10, and the machine cycle becomes extremely slow, or the instructions are executed sequentially without using the advance control function. If the processing time is long, the service processor 10 sends a deadlock interrupt mask signal to the four deadlock interrupt mask circuits 9-1 to 9-4 in advance before accessing the shared resource, and waits until the signal is received. Deadlock interrupt mask circuit 9-
1 to 9-4 mask the deadlock detection signal received from the deadlock detection control circuit 7. After masking, the deadlock detection signal output from the deadlock detection control circuit 7 is CP even if the value of the lock word access counter becomes O by the test and set instruction as in the above-described embodiment.
It is not sent to U and no deadlock interrupt occurs.

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

以上説明したように本発明は、通信レジスタにおけるロ
ックワードアクセスカウンタの初期設定値を命令により
自由に設定可能とすることにより、デッドロックが発生
した場合にそなえ共有資源をアクセスするタスク間やプ
ロセッサ問語にプロセッサがデッドロック割込を行なう
最適なタイミングを設定することができるという効果が
ある。
As explained above, the present invention allows the initial setting value of the lock word access counter in the communication register to be freely set by an instruction, thereby preventing problems between tasks accessing shared resources or processor problems in case a deadlock occurs. This has the advantage that the optimal timing for the processor to issue a deadlock interrupt can be set.

また、本発明ではデッドロックの検出を行なわないモー
ドを設けることにより、診断モード等で長い処理時間を
要するプロセッサが共有資源を使用中は、通常モードで
動作中のプロセッサによるデッドロック割込が行なわれ
ることを抑止し不必要な割込みを防ぐという効果がある
Furthermore, by providing a mode in which deadlock detection is not performed in the present invention, while a processor that requires a long processing time is using shared resources in diagnostic mode, etc., a deadlock interrupt by a processor operating in normal mode is prevented. This has the effect of preventing unnecessary interruptions.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図における通信レジスタ3を示す詳細図、第3図は
各CPUの内部を示すブロック図、第4図はテストアン
ドセット命令の内容を示す詳細図、第5図(a)および
第5図(b)はそれぞれ通常モードのプロセッサ、診断
モードのプロセッサが共有資源をロックする場合のロッ
クフラグとロックワードアクセスカウンタの時間的変化
を示すタイムチャート図である。 1−1.1−2.1−3.1−4・・・CPU12・・
・通信レジスタアクセス制御回路、3・・・通信しジス
タ、4−1.4−2・・・セレクタ、5−1.5−2.
5−3.5−4・・・レジスタ、6・・・減算器、7・
・・デッドロック検出制御回路、8・・・デコーダ、9
−1.9−2.9−3.9−4・・・デッドロック検出
マスク回路、10・・・サービスプロセ・ンサ、11・
・・共有メモリ。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a detailed diagram showing the communication register 3 in FIG. 1, FIG. 3 is a block diagram showing the inside of each CPU, and FIG. 4 is a test and Detailed diagrams showing the contents of the set instruction, Figures 5(a) and 5(b) show the lock flag and lock word access counter times when a processor in normal mode and a processor in diagnostic mode lock shared resources, respectively. FIG. 1-1.1-2.1-3.1-4...CPU12...
- Communication register access control circuit, 3...Communicating register, 4-1.4-2...Selector, 5-1.5-2.
5-3.5-4...Register, 6...Subtractor, 7.
...Deadlock detection control circuit, 8...Decoder, 9
-1.9-2.9-3.9-4...Deadlock detection mask circuit, 10...Service processor, 11.
··shared memory.

Claims (1)

【特許請求の範囲】 1、複数のプロセッサにより構成される情報処理システ
ムにおいて、プロセッサ間の通信にかかわる制御情報及
びデータを格納する1つまたは複数個の通信情報格納手
段と、該通信情報格納手段に対し、読み出し、格納及び
検査を指示する命令手段と、該命令手段に応答し、前記
通信情報格納手段の内容を検査し、その結果により前記
通信情報格納手段のデッドロック情報を更新するアクセ
ス制御手段と、前記デッドロック情報を検査しデッドロ
ックの発生を検出してプロセッサへ報告するデッドロッ
ク検出手段とを有し、システム内の共有資源のアクセス
にあたり、資源獲得のロック制御においてデッドロック
検出のタイミングを可変にしたことを特徴とする情報処
理システム。 2、前記デッドロック検出手段のプロセッサへのデッド
ロックの報告を有効/無効とする1つまたは複数個のモ
ードビットを有しデッドロックの検出を選択的に報告す
ることを特徴とする請求項1記載の情報処理システム。
[Scope of Claims] 1. In an information processing system composed of a plurality of processors, one or more communication information storage means for storing control information and data related to communication between the processors; and the communication information storage means a command means for instructing reading, storing, and inspection of the communication information storage means; and access control for inspecting the contents of the communication information storage means in response to the command means and updating deadlock information in the communication information storage means based on the result. and deadlock detection means for inspecting the deadlock information, detecting the occurrence of deadlock, and reporting it to the processor, and deadlock detection means in lock control for resource acquisition when accessing shared resources in the system. An information processing system characterized by variable timing. 2. Claim 1 characterized in that it has one or more mode bits for enabling/disabling the deadlock detection means to report deadlock to the processor, and selectively reports detection of deadlock. The information processing system described.
JP12955690A 1990-05-18 1990-05-18 Information processing system Pending JPH0424863A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12955690A JPH0424863A (en) 1990-05-18 1990-05-18 Information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12955690A JPH0424863A (en) 1990-05-18 1990-05-18 Information processing system

Publications (1)

Publication Number Publication Date
JPH0424863A true JPH0424863A (en) 1992-01-28

Family

ID=15012421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12955690A Pending JPH0424863A (en) 1990-05-18 1990-05-18 Information processing system

Country Status (1)

Country Link
JP (1) JPH0424863A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844553A (en) * 1981-09-10 1983-03-15 Fujitsu Ltd Exclusive controlling system
JPS62282358A (en) * 1986-05-31 1987-12-08 Nec Corp Memory controller
JPS6321941A (en) * 1986-05-06 1988-01-29 イ−・アイ・デユポン・デ・ニモアス・アンド・カンパニ− Cellular staple fiber having collapsed cells at bent part thereof
JPH02100755A (en) * 1988-10-08 1990-04-12 Nec Corp Information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844553A (en) * 1981-09-10 1983-03-15 Fujitsu Ltd Exclusive controlling system
JPS6321941A (en) * 1986-05-06 1988-01-29 イ−・アイ・デユポン・デ・ニモアス・アンド・カンパニ− Cellular staple fiber having collapsed cells at bent part thereof
JPS62282358A (en) * 1986-05-31 1987-12-08 Nec Corp Memory controller
JPH02100755A (en) * 1988-10-08 1990-04-12 Nec Corp Information processing system

Similar Documents

Publication Publication Date Title
KR100578437B1 (en) Mechanism for interrupt handling in computer systems that support concurrent execution of multiple threads
KR880001401B1 (en) Data processing system common bus utilization detection logic circuit
EP0361176B1 (en) Method and apparatus for communicating data between multiple tasks in data processing systems
US6976155B2 (en) Method and apparatus for communicating between processing entities in a multi-processor
EP0172522B1 (en) Data processing machine suitable for high-speed processing
US9274859B2 (en) Multi processor and multi thread safe message queue with hardware assistance
US5136714A (en) Method and apparatus for implementing inter-processor interrupts using shared memory storage in a multi-processor computer system
RU2137182C1 (en) Execution of data processing instruction
CN111857993B (en) Method for calling user mode function in kernel mode
US7716407B2 (en) Executing application function calls in response to an interrupt
US7146533B2 (en) Method for and system producing shared usage of intercommunication fabric error logging registers in a multiprocessor environment
WO2009111108A1 (en) Method and apparatus for sharing debug resources
US4308580A (en) Data multiprocessing system having protection against lockout of shared data
US6529979B1 (en) Method and apparatus for a high-speed serial communications bus protocol with positive acknowledgement
CA2151673C (en) Parallel processing system with a plurality of communication register modules
JPH0424863A (en) Information processing system
US7222202B2 (en) Method for monitoring a set of semaphore registers using a limited-width test bus
JP2988139B2 (en) Interrupt control device
SU1569843A1 (en) Multicompressor computer system
US7206926B2 (en) Programmable unit including program operation unit and associated stopping device
JPH04111138A (en) Detection system for software fault
JPS62156756A (en) Floating interruption processing method
JPH04343143A (en) Shared resource mutual exclusion method for multiprocessor system
JPH02100755A (en) Information processing system
JPH086905A (en) Access arbitration circuit for multi-port ram