JP2652976B2 - Exclusive control method of shared memory - Google Patents

Exclusive control method of shared memory

Info

Publication number
JP2652976B2
JP2652976B2 JP2203435A JP20343590A JP2652976B2 JP 2652976 B2 JP2652976 B2 JP 2652976B2 JP 2203435 A JP2203435 A JP 2203435A JP 20343590 A JP20343590 A JP 20343590A JP 2652976 B2 JP2652976 B2 JP 2652976B2
Authority
JP
Japan
Prior art keywords
shared memory
access
exclusive control
space
processor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2203435A
Other languages
Japanese (ja)
Other versions
JPH0486943A (en
Inventor
智 松下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP2203435A priority Critical patent/JP2652976B2/en
Publication of JPH0486943A publication Critical patent/JPH0486943A/en
Application granted granted Critical
Publication of JP2652976B2 publication Critical patent/JP2652976B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、共有メモリを介して通信する複数のプロセ
ッサが同時に動作するマルチプロセッサ装置における共
有メモリの排他制御方式に関する。
Description: TECHNICAL FIELD The present invention relates to an exclusive control method of a shared memory in a multiprocessor device in which a plurality of processors communicating via a shared memory operate simultaneously.

(従来の技術) 従来、共有メモリを介して通信する複数のプロセッサ
が同時に動作するマルチプロセッサ装置における共有メ
モリの排他制御を実現する機構は2つに大別される。こ
れを以下に示す。
(Prior Art) Conventionally, mechanisms for implementing exclusive control of a shared memory in a multiprocessor device in which a plurality of processors communicating via the shared memory operate simultaneously are roughly classified into two mechanisms. This is shown below.

1.Test and Set,Read Modify Write,Fetch and Add,Com
pare and Swapなど、読み込み、値操作、再書き込みを
メモリに対する不可分な動作として実現する機械命令を
設ける。
1.Test and Set, Read Modify Write, Fetch and Add, Com
Provide machine instructions, such as pare and Swap, that implement read, value manipulation, and rewrite as inseparable operations on memory.

2.排他制御のための制御をもったハードウェアメモリを
設け、そのメモリへの通常命令によるアクセスにより排
他制御を実現する。例えば、Atomic Lock Memoryでは、
特定のメモリアドレスに対して読み出しアクセス(read
アクセス)をした場合、そのメモリ内容をCPUに渡すと
同時にメモリ内部でハードウェア的にそのアドレスの内
容を1(lock状態)にする。ロック(lock)状態のメモ
リへのreadアクセスは、そのアドレスの内容が0(アン
ロック:unlock)になるまで待たされる。書き込みアク
セス(writeアクセス)によりアドレスの内容を0にリ
セットされる。これにより、排他制御を実現するもので
ある。これは、Test and Setのハードウェアによる実装
に相当する。
2. A hardware memory having control for exclusive control is provided, and exclusive control is realized by accessing the memory with a normal instruction. For example, Atomic Lock Memory
Read access to a specific memory address (read
(Access), the contents of the memory are passed to the CPU, and at the same time, the contents of the address are set to 1 (lock state) by hardware in the memory. The read access to the locked memory is delayed until the content of the address becomes 0 (unlock). The contents of the address are reset to 0 by the write access. Thereby, exclusive control is realized. This is equivalent to hardware implementation of Test and Set.

(発明が解決しようとする課題) 近年、RISCプロセッサが普及したが、RISCプロセッサ
ではパイプラインの乱れを最小限にするために1命令に
1メモリアクセスか1演算を基本とし、従来の技術の欄
の1に挙げた様に2メモリアクセスを不可分に実行する
ものはRISCの枠外になり実現しにくい。
(Problems to be Solved by the Invention) In recent years, RISC processors have become widespread. In RISC processors, one memory access or one operation is basically used for one instruction in order to minimize the disturbance of the pipeline. As described in 1 above, those that execute two memory accesses inseparably fall outside the scope of RISC and are difficult to realize.

一方、Atomic Lock Memoryでは、メモリアドレス分の
排他制御資源を実現することができるが、ハードウェア
が複雑になる。
On the other hand, in the atomic lock memory, exclusive control resources for the memory address can be realized, but the hardware becomes complicated.

プロセッサ数が少なく排他資源の競合の割合が少ない
ときには、排他制御資源は1つでよく、より実現の容易
なハードウェア方式が望まれる。
When the number of processors is small and the contention ratio of exclusive resources is small, only one exclusive control resource is required, and a hardware system that is easier to realize is desired.

また、従来の共有メモリの排他制御方式では、操作し
たい記憶域以外にロックのための記憶域を用意し、プロ
グラムには該記憶域に対するロック操作とアンロック操
作命令が追加されることになる。メモリアクセス時間に
対し計算速度が極めて速いRISCプロセッサでは、このよ
うにメモリアクセス操作が増えることは望ましくない。
In the conventional exclusive control method of the shared memory, a storage area for locking is prepared in addition to the storage area to be operated, and a lock operation and an unlock operation instruction for the storage area are added to the program. In a RISC processor whose calculation speed is extremely fast with respect to the memory access time, such an increase in the number of memory access operations is not desirable.

そこで本発明の目的は、簡易なハードウェアを用い、
かつ、排他制御のためのメモリアクセスの増加がない共
有メモリの排他制御方式を提供することにある。
Therefore, an object of the present invention is to use simple hardware,
Another object of the present invention is to provide a shared memory exclusive control method that does not increase the number of memory accesses for exclusive control.

(課題を解決するための手段) 本発明に係る共有メモリの排他制御方式は、共有メモ
リを介して通信する複数のプロセッサが同時に動作する
マルチプロセッサ装置において、あるプロセッサがある
時間の間前記共有メモリを専有して他のプロセッサの前
記共有メモリへのアクセスを禁止する共有メモリの排他
制御方式であって、 前記共有メモリのアドレス空間には、通常アクセス空
間、第1の排他制御アクセス空間及び第2の排他制御ア
クセス空間とが三重に割当ててあり、 前記複数のプロセッサの前記共有メモリへのアクセス
には、前記通常アクセス空間を介する通常アクセス、前
記第1の排他制御アクセス空間を介する第1の排他制御
アクセス及び前記第2の排他制御アクセス空間を介する
第2の排他制御アクセスとがあり、 前記複数のプロセッサは、前記第1の排他制御アクセ
スにより前記共有メモリにアクセスした場合には、前記
共有メモリを専有し、前記第2の排他制御アクセスによ
り前記共有メモリにアクセスした場合には、前記共有メ
モリの専用を解除することを特徴とする。
(Means for Solving the Problems) An exclusive control method of a shared memory according to the present invention is a multi-processor device in which a plurality of processors that communicate via the shared memory operate simultaneously. A shared memory exclusive control system that prohibits another processor from accessing the shared memory by using a normal access space, a first exclusive control access space, and a second exclusive control access space in the address space of the shared memory. And the exclusive control access space of the plurality of processors is accessed three times. The plurality of processors access to the shared memory includes a normal access through the normal access space and a first exclusion through the first exclusive control access space. A control access and a second exclusive control access through the second exclusive control access space. The processor occupies the shared memory when the shared memory is accessed by the first exclusive control access, and the shared memory when the shared memory is accessed by the second exclusive control access. Is released.

(作用) 本発明においては、排他制御を始めたいときの共有メ
モリ上のデータに対する操作を第1の排他制御アクセス
として排他制御アクセス空間を介して行ない、排他制御
終了時のデータ操作を排他制御アクセス空間を介した第
2の排他制御アクセスとして行なうことにより、排他制
御を伴わないアクセスの場合に対し、メモリアクセス回
数を増加することなく排他制御を実現することが可能で
ある。
(Operation) In the present invention, when starting exclusive control, an operation on data on the shared memory is performed as the first exclusive control access through the exclusive control access space, and the data operation at the end of the exclusive control is performed by the exclusive control access. By performing the second exclusive control access through the space, it is possible to realize the exclusive control without increasing the number of memory accesses, in the case of the access without the exclusive control.

本発明は、共有メモリ機構に不可欠な調停回路に若干
の改良を加えることで実現でき、装置規模が小さくて済
む。
The present invention can be realized by making some improvements to the arbitration circuit indispensable for the shared memory mechanism, and the device scale can be reduced.

(実施例) 本発明の共有メモリの排他制御方式について、第1
図、第2図を参照して説明する。第1図は、本発明の一
実施例のメモリマップを示した図である。
(Embodiment) An exclusive control method for a shared memory according to the present invention
This will be described with reference to FIGS. FIG. 1 is a diagram showing a memory map according to one embodiment of the present invention.

プロセッサ16は、共有メモリ11に対し、排他制御アク
セス空間12および通常アクセス空間13の2つの空間のど
ちらからでも書き込みおよび読みだしの操作をすること
ができる。排他制御アクセス空間12を介したアクセスが
排他アクセス14でり、通常アクセス空間13を介したアク
セスが通常アクセス15である。
The processor 16 can perform writing and reading operations on the shared memory 11 from either of the exclusive control access space 12 and the normal access space 13. An access via the exclusive control access space 12 is an exclusive access 14, and an access via the normal access space 13 is a normal access 15.

1.排他制御アクセス空間12を経由した読みだし操作は、
共有メモリ11のロック(lock)として動作し、このlock
操作以降、共有メモリ11のアンロック(unlock)操作が
あるまで、その読みだし操作をしたプロセッサ以外の共
有メモリ11に対するアクセス(14,15)を一切禁止す
る。
1. Read operation via exclusive control access space 12
This lock operates as a lock for the shared memory 11,
After the operation, access (14, 15) to the shared memory 11 other than the processor that performed the reading operation is completely prohibited until there is an unlock operation of the shared memory 11.

2.排他制御アクセス空間12を経由した書き込み操作は、
共有メモリ11のunlockとして動作し、このunlock操作以
降、任意のプロセッサの共有メモリ11に対するアクセス
(14,15)を可能とする。
2. Write operations via the exclusive control access space 12
It operates as an unlocking of the shared memory 11, and after this unlocking operation, any processor can access the shared memory 11 (14, 15).

3.通常アクセス15は、排他アクセス14におけるlock操
作、unlock操作で定まるアクセス権の状態に関しては一
切影響を与えない。
3. The normal access 15 does not affect the state of the access right determined by the lock operation and the unlock operation in the exclusive access 14 at all.

以上の3つが本実施例を実現する制御法であり、全て
共有メモリへのアクセスが許されたプロセッサのみが行
なうことが許される。
The above three are control methods for realizing the present embodiment, and are permitted to be performed only by the processor permitted to access the shared memory.

第1図に示す様にプロセッサ数が2である本実施例の
構成を第2図に示す。11は共有メモリであり、16はプロ
セッサであり、23はアドレスデコーダであり、24は調停
回路であり、25はバッファである。共有メモリ11へのア
クセスが第1図における排他制御アクセス空間12へのも
のである場合、アドレスデコーダN(N=0or1)は信号
selNxをアサートし、通常アクセス空間13へのものであ
る場合、信号selNnをアサートする。
FIG. 2 shows the configuration of this embodiment in which the number of processors is two as shown in FIG. 11 is a shared memory, 16 is a processor, 23 is an address decoder, 24 is an arbitration circuit, and 25 is a buffer. If the access to the shared memory 11 is to the exclusive control access space 12 in FIG. 1, the address decoder N (N = 0 or 1)
selNx is asserted, and if the signal is for the normal access space 13, the signal selNn is asserted.

調停回路24は、共有メモリ11へのアクセスを調停し、
調停の結果に応じてバッファ0またはバッファ1を開け
る信号をアサートする。調停回路24には、プロセッサ0
またはプロセッサ1からの共有メモリ11へのアクセスが
readアクセスであるか、writeアクセスであるかを判定
するために、各プロセッサから信号rd0,rd1が入力され
る。
The arbitration circuit 24 arbitrates access to the shared memory 11,
Assert a signal to open buffer 0 or buffer 1 according to the result of the arbitration. The arbitration circuit 24 includes a processor 0
Or access from processor 1 to shared memory 11
Signals rd0 and rd1 are input from each processor to determine whether the access is read access or write access.

さらに、プロセッサ0またはプロセッサ1は、共有メ
モリ11をアクセスした場合、それぞれen0,en1信号をサ
ンプリングし、該信号がアサートされていない場合は、
共有メモリアクセス権が得られなかったものとみなし、
該信号がアサートされるまでアイドリングする。
Further, when the processor 0 or the processor 1 accesses the shared memory 11, the processor 0 or the processor 1 samples the en0 and en1 signals, respectively. If the signals are not asserted,
Assuming that shared memory access was not obtained,
Idle until the signal is asserted.

第3図に調停回路24の状態遷移図を示す。第3図はmo
or型の遷移図であり、鍵括弧内が状態名である。アトー
トを1としたときの信号en0,en1の状態を円内に示す。
各状態遷移において、条件が成立していないこと(ネゲ
ートされている状態)を上線、orを‘+’、andを
‘・’を用いて示す。またrd0,rd1信号は、readアクセ
ス時にアサートされ、writeアクセスの時にネゲートさ
れるものとする。
FIG. 3 shows a state transition diagram of the arbitration circuit 24. Fig. 3 shows mo
It is a transition diagram of an or type, and a state name is in a bracket. The state of the signals en0 and en1 when the atoto is set to 1 is shown in a circle.
In each state transition, the condition is not satisfied (negated state) is indicated by an overline, or is indicated by “+”, and and is indicated by “•”. The rd0 and rd1 signals are asserted at the time of read access and negated at the time of write access.

調停回路24は、以下の各状態を遷移する。 The arbitration circuit 24 transitions between the following states.

1.どのプロセッサも共有メモリ11をアクセスしていない
状態[idle] 2.プロセッサNが共有メモリ11をアクセスしているが、
アクセスが終了しだい[idle]に戻る状態。[AccN] 3.プロセッサNが共有メモリ11を排他的にアクセスして
おり、アクセスが終了してもunlook操作を行なわない限
り共有メモリ11を占有しつづける状態。[exN]。
1. No processor is accessing shared memory 11 [idle] 2. Processor N is accessing shared memory 11, but
The status returns to [idle] as soon as access is completed. [AccN] 3. A state in which the processor N exclusively accesses the shared memory 11, and occupies the shared memory 11 even after the access is completed unless an unlook operation is performed. [ExN].

本実施例における排他制御動作と調停回路24の状態を
以下に示す。
The exclusive control operation and the state of the arbitration circuit 24 in this embodiment are described below.

1.プロセッサNが第1図における排他制御アクセス空間
12にwriteアクセスすることで、調停回路24の状態がexN
に遷移し、当該プロセッサN以外のプロセッサによる一
切の共有メモリ11へのアクセス(第1図の14,15)を禁
止する。
1. Processor N has exclusive control access space in FIG.
By write access to 12, the state of the arbitration circuit 24 becomes exN
To prohibit any access to the shared memory 11 by processors other than the processor N (14 and 15 in FIG. 1).

2.その後、第1図における通常アクセス15では、調停回
路24はexNのlock状態のまま遷移しない。
2. Thereafter, in the normal access 15 shown in FIG. 1, the arbitration circuit 24 does not transit in the lock state of exN.

3.さらに、そのプロセッサNが第1図における排他制御
アクセス空間12にreadアクセスした時点でAccNに状態が
遷移し、該readアクセスが終了次第idle状態へ遷移して
再び当該プロセッサN以外の共有メモリ11へのアクセス
が可能になる。
3. Further, when the processor N makes a read access to the exclusive control access space 12 in FIG. 1, the state is changed to AccN, and as soon as the read access is completed, the state is changed to the idle state and the shared memory other than the processor N is returned again. Access to 11 becomes possible.

本実施例は、通常の共有メモリ装置に対し、第2図の
アドレスデコーダ23から、selNxの信号を余計にとりだ
すだけでよく、また、調停回路24へは、第3図の状態遷
移図において、プロセッサ(プロセッサNとする)1台
につきenNの状態1つを追加するだけでよく、装置規模
が小さくて済む。
In the present embodiment, it is only necessary to extract an extra signal selNx from the address decoder 23 of FIG. 2 with respect to the ordinary shared memory device, and to the arbitration circuit 24, the state transition diagram of FIG. It is only necessary to add one state of enN for each processor (referred to as processor N), and the device scale can be reduced.

次に、本実施例のプログラミングについて述べる。 Next, the programming of this embodiment will be described.

ある変数Aの値を読みだすとともに、変数Aの値は1
にしておく操作を不可分に実行する命令をtest and set
と呼ぶ。これは、本実施例を用いて以下の様に実装でき
る。
When the value of a certain variable A is read out, the value of the variable A becomes 1
Test and set an instruction to execute the operation inseparably
Call. This can be implemented as follows using this embodiment.

1.第1図の排他制御アクセス空間12を介してある変数A
の値を読む。同時に共有メモリ11にはlockがかかる。
1. Variable A via exclusive control access space 12 in FIG.
Read the value of. At the same time, the shared memory 11 is locked.

2.第1図の排他制御アクセス空間12を介して変数Aに1
を書き込み共有メモリ11のlockを解除する。
2. 1 is assigned to the variable A via the exclusive control access space 12 in FIG.
To unlock the shared memory 11.

OSで頻繁に用いられる排他処理にリンクドリストの操
作がある。第4図にセルi42とセルj43の間にセルk41を
挿入する操作を行なう前の状態を示す。44は順方向(後
方)のセルを指すポインタ、45は逆方向のセルを指すポ
インタである。操作後には、第5図の状態になる。
Linked list operations are one of the exclusion processes frequently used in the OS. FIG. 4 shows a state before the operation of inserting the cell k41 between the cell i42 and the cell j43. 44 is a pointer pointing to the forward (rear) cell, and 45 is a pointer pointing to the backward cell. After the operation, the state is as shown in FIG.

本操作のプログラミング例を第6図に示す。第6図に
おいてregはCPU内のレジスタを、(Fj)は変数Fjに格納
された値を、reg←(Fj)は変数Fjに格納された値をレ
ジスタに転送することを示す。
FIG. 6 shows a programming example of this operation. In FIG. 6, reg indicates the register in the CPU, (Fj) indicates the value stored in the variable Fj, and reg ← (Fj) indicates that the value stored in the variable Fj is transferred to the register.

(発明の効果) 本発明は、共有メモリ機構に不可欠な調停回路に若干
の改良を加えることで実現でき、小さなハードウェア量
で実現できる。
(Effect of the Invention) The present invention can be realized by adding a slight improvement to the arbitration circuit indispensable for the shared memory mechanism, and can be realized with a small amount of hardware.

また、実施例で挙げた2つのプログラミング例をはじ
めとして、Compare and Swap,Fetch and Addなど通常の
排他操作は、readアクセスから始まり、writeアクセス
で終了する。従って、本発明では、最初の転送操作と最
後の転送操作に共有メモリのlock,unlock操作を兼ねさ
せることで、排他制御を行なわずに本操作を実装した場
合と同一の命令数で排他処理を記述することができる。
In addition to the two programming examples described in the embodiments, ordinary exclusive operations such as Compare and Swap and Fetch and Add start with read access and end with write access. Therefore, in the present invention, by performing the lock operation and the unlock operation of the shared memory for the first transfer operation and the last transfer operation, exclusive processing is performed with the same number of instructions as in the case where this operation is implemented without performing exclusive control. Can be described.

さらに、RISCプロセッサの命令がCISCのマイクロ命令
に相当することを考慮すると、本発明ではCISCの任意の
高機能命令をCISCと同等のオーバーヘッドで、RISCプロ
セッサ上にソフトウェア的に実装することができる。
Further, considering that the instruction of the RISC processor corresponds to the micro instruction of the CISC, in the present invention, any high-performance instruction of the CISC can be implemented in software on the RISC processor with the same overhead as the CISC.

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

第1図は本発明の一実施例のメモリマップを示す図、第
2図は本実施例の構成を示す図、第3図は調停回路24の
状態遷移を示す図、第4図は本実施例による2重リンク
ドリストの操作前の状態を示す図、第5図は本実施例に
よる2重リンクドリストの操作後の状態を示す図、第6
図はリンクドリスト操作のプログラミング例を示す図で
ある。 11……共有メモリ、12……排他制御アクセス空間、13…
…通常アクセス空間、14……排他アクセス、15……通常
アクセス、16……プロセッサ、23……アドレスデコー
ダ、24……調停回路、25……バッファ、41……セルk、
42……セルi、43……セルj、44……順方向ポインタ、
45……逆方向ポインタ。
FIG. 1 is a diagram showing a memory map of one embodiment of the present invention, FIG. 2 is a diagram showing the configuration of this embodiment, FIG. 3 is a diagram showing a state transition of an arbitration circuit 24, and FIG. FIG. 5 is a diagram showing a state before operation of a double linked list according to an example, FIG. 5 is a diagram showing a state after operation of a double linked list according to the present embodiment, and FIG.
The figure shows a programming example of the linked list operation. 11 ... shared memory, 12 ... exclusive control access space, 13 ...
... normal access space, 14 ... exclusive access, 15 ... normal access, 16 ... processor, 23 ... address decoder, 24 ... arbitration circuit, 25 ... buffer, 41 ... cell k,
42 ... cell i, 43 ... cell j, 44 ... forward pointer,
45 ... Reverse direction pointer.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】共有メモリを介して通信する複数のプロセ
ッサが同時に動作するマルチプロセッサ装置において、
あるプロセッサがある時間の間前記共有メモリを専有し
て他のプロセッサの前記共有メモリへのアクセスを禁止
する共有メモリの排他制御方式であって、 前記共有メモリのアドレス空間には、通常アクセス空
間、第1の排他制御アクセス空間及び第2の排他制御ア
クセス空間とが三重に割当ててあり、 前記複数のプロセッサの前記共有メモリへのアクセスに
は、前記通常アクセス空間を介する通常アクセス、前記
第1の排他制御アクセス空間を介する第1の排他制御ア
クセス及び前記第2の排他制御アクセス空間を介する第
2の排他制御アクセスとがあり、 前記複数のプロセッサは、前記第1の排他制御アクセス
により前記共有メモリにアクセスした場合には、前記共
有メモリを専有し、前記第2の排他制御アクセスにより
前記共有メモリにアクセスした場合には、前記共有メモ
リの専用を解除することを特徴とする共有メモリの排他
制御方式。
1. A multiprocessor device in which a plurality of processors communicating via a shared memory operate simultaneously.
An exclusive control method of a shared memory in which a certain processor occupies the shared memory for a certain time and prohibits another processor from accessing the shared memory, wherein an address space of the shared memory includes a normal access space, A first exclusive control access space and a second exclusive control access space are assigned in triple, and the plurality of processors access to the shared memory includes a normal access via the normal access space and a first access to the shared memory. There are a first exclusive control access via the exclusive control access space and a second exclusive control access via the second exclusive control access space, and the plurality of processors are configured to execute the shared memory by the first exclusive control access. When the shared memory is accessed, the shared memory is occupied and the shared memory is accessed by the second exclusive control access. When accessing the exclusive control method of shared memory, characterized in that to release the dedicated of the shared memory.
【請求項2】前記第1の排他制御アクセスは読み出しア
クセスであり、前記第2の排他制御アクセスは書き込み
アクセスであることを特徴とする請求項1に記載の共有
メモリの排他制御方式。
2. The shared memory exclusive control method according to claim 1, wherein said first exclusive control access is a read access, and said second exclusive control access is a write access.
JP2203435A 1990-07-31 1990-07-31 Exclusive control method of shared memory Expired - Fee Related JP2652976B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2203435A JP2652976B2 (en) 1990-07-31 1990-07-31 Exclusive control method of shared memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2203435A JP2652976B2 (en) 1990-07-31 1990-07-31 Exclusive control method of shared memory

Publications (2)

Publication Number Publication Date
JPH0486943A JPH0486943A (en) 1992-03-19
JP2652976B2 true JP2652976B2 (en) 1997-09-10

Family

ID=16474050

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2203435A Expired - Fee Related JP2652976B2 (en) 1990-07-31 1990-07-31 Exclusive control method of shared memory

Country Status (1)

Country Link
JP (1) JP2652976B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05313987A (en) * 1992-05-06 1993-11-26 Nec Corp Multicpu system
JPH07129519A (en) * 1993-11-04 1995-05-19 Sharp Corp Dual cpu system
JP4983632B2 (en) * 2008-02-06 2012-07-25 日本電気株式会社 Information communication system, access arbitration method thereof, and control program thereof
JP6929074B2 (en) * 2017-01-31 2021-09-01 キヤノン株式会社 Information processing device and its control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60263254A (en) * 1984-06-11 1985-12-26 Fuji Xerox Co Ltd Arbitrating method of multi-cpu
JPH02105250A (en) * 1988-10-13 1990-04-17 Fujitsu Ltd Data transfer system

Also Published As

Publication number Publication date
JPH0486943A (en) 1992-03-19

Similar Documents

Publication Publication Date Title
EP1008053B1 (en) Controlling memory access ordering in a multi-processing system
KR101968711B1 (en) Programmable atomic memory using stored atomic procedures
US7047322B1 (en) System and method for performing conflict resolution and flow control in a multiprocessor system
US5889983A (en) Compare and exchange operation in a processing system
US6792497B1 (en) System and method for hardware assisted spinlock
US9690737B2 (en) Systems and methods for controlling access to a shared data structure with reader-writer locks using multiple sub-locks
US20050268106A1 (en) Control of access to a shared resourse in a data processing apparatus
EP0535820B1 (en) Method and apparatus for a register providing atomic access to set and clear individual bits of shared registers without software interlock
EP2641171B1 (en) Preventing unintended loss of transactional data in hardware transactional memory systems
JPS59180767A (en) Serializer
US5317749A (en) Method and apparatus for controlling access by a plurality of processors to a shared resource
JPH03196249A (en) Multiple processor system
US5353416A (en) CPU lock logic for corrected operation with a posted write array
US20080183979A1 (en) Read-write spinlock with no mutual exclusion among readers
JPH05210640A (en) Multiprocessor system
US5696939A (en) Apparatus and method using a semaphore buffer for semaphore instructions
US6970963B2 (en) Apparatus and method for synchronizing multiple accesses to common resources
WO1996027833A1 (en) Information processor
US20060048162A1 (en) Method for implementing a multiprocessor message queue without use of mutex gate objects
US20030200457A1 (en) Enhancement to the MCS lock for increased functionality and improved programmability
JP2652976B2 (en) Exclusive control method of shared memory
JPH0348962A (en) Bus lock control system
US7206894B2 (en) Microcomputer application system, microcomputer, signal processing system and signal processing LSI
JPH0447851B2 (en)
US20040064645A1 (en) Balanced access to prevent gateword dominance in a multiprocessor write-into-cache environment

Legal Events

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

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees