JPH0340140A - Exclusive control system for shared resources - Google Patents

Exclusive control system for shared resources

Info

Publication number
JPH0340140A
JPH0340140A JP17615189A JP17615189A JPH0340140A JP H0340140 A JPH0340140 A JP H0340140A JP 17615189 A JP17615189 A JP 17615189A JP 17615189 A JP17615189 A JP 17615189A JP H0340140 A JPH0340140 A JP H0340140A
Authority
JP
Japan
Prior art keywords
swap
lock
request
exclusive control
resident
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
JP17615189A
Other languages
Japanese (ja)
Inventor
Yoshinao 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 JP17615189A priority Critical patent/JPH0340140A/en
Publication of JPH0340140A publication Critical patent/JPH0340140A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the waiting time of the subsequent lock waiting processes by overlapping the swap-in process of a process to a process kept in a lock state in terms of time in a swap-out state of the process and inhibiting the swap-out state. CONSTITUTION:A swap control means 5 accepts a swap-out inhibiting request and a swap-out inhibition canceling request of a designated process and processes these requests. Then a residence request means 2 requests the means 5 to inhibit the swap-out of a process to which the next lock right is given when the present lock is canceled out of those processes kept in the lock waiting state. then a residence cancel request means 3 requests the means 5 to cancel the swap-out inhibition of a process when the process having the lock right at present is kept in a swap-out inhibiting state by the means 2. As a result, the waiting time is shortened for the subsequent lock waiting processes and at the same time the availability of the shared resources is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は共有資源排他制御方式に関し、特に計算機シス
テムの共有資源排他制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a shared resource exclusive control method, and particularly to a shared resource exclusive control method for a computer system.

〔従来の技術〕[Conventional technology]

計算機システムにおいて、複数のプロセスから使用され
る資源については、その資源へのアクセスを逐次化する
ために排他制御が必要である。このような排他制御のた
めに、計算機システムにば、ロソク/アンロソク (あ
るいはENQ/DEC)と呼ばれる基本機能が備えられ
ており、ロック要求には、通常、排他モードと共有モー
ドとの2種類がある。
In a computer system, exclusive control is required for resources used by multiple processes in order to serialize access to the resources. For such exclusive control, computer systems are equipped with a basic function called lock/unlock (or ENQ/DEC), and there are usually two types of lock requests: exclusive mode and shared mode. be.

排他制御の基本的動作は、次のようなものである。ある
プロセスがロック要求を出した場合、ロック要求の対象
である資源が他のプロセスによりロックされていないな
らば、すぐにロック権が与えられる。しかし、他のプロ
セスによりすでにロックされている場合、その資源のロ
ックモードまたは該プロセスのロック要求のモードが排
他モードのときにはロック待ちとなる。その資源の口。
The basic operation of exclusive control is as follows. When a process issues a lock request, the lock right is immediately granted if the resource for which the lock request is made is not locked by another process. However, if the resource is already locked by another process and the lock mode of the resource or the lock request mode of the process is exclusive mode, the process waits for the lock. The mouth of its resources.

クモードと該プロセスのロック要求のモードとがともに
共有モードのときには、該プロセスにロック権を与える
。また、資源をロックしていたプロセスがアンロック要
求を出した場合には、該プロセスのロック権の行使が終
了する。他にロックしているプロセスがなくかつロック
待ちプロセスがある場合には、ロック待ちプロセスのう
ちの最も早くロック要求したプロセスのロック要求のモ
ードが排他モードならばこのプロセスのみに口、り権を
与え、共有モードならば現在共有モードでロック待ちし
ているすべてのプロセスにロック権を与える。
When both the lock mode and the lock request mode of the process are shared mode, the process is granted the lock right. Furthermore, when a process that has locked a resource issues an unlock request, the exercise of the locking right by that process ends. If there is no other process holding the lock and there is a process waiting for the lock, if the mode of the lock request of the process that requested the lock earliest among the processes waiting for the lock is exclusive mode, only this process will have access rights. If the process is in shared mode, all processes currently waiting for the lock in shared mode are granted the lock right.

従来、この種の共有資源排他制御方式では、般に、上記
ロソク/アンロソク処理に際して、プロセスのスワップ
アウトに関してはなにも対処しないかまたは上記ロック
/7ンロノク処理中のみにスワップアウトを禁止してい
た。
Conventionally, this type of shared resource exclusive control method generally does not deal with swapping out processes during the lock/unlock process, or prohibits swap out only during the lock/unlock process. Ta.

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

上述した従来の共有資源排他制御方式では、現在ロック
中のプロセスがアンロック要求して次のプロセスにロッ
ク権を与える際に次のプロセスがスワップアウトされて
いた場合にはスワップインしてからロック権を与えるよ
うになっていたので、スワップインのための入出力処理
が伴い、他のロック待ちプロセスの待ち時間を増加させ
たり、資源の使用効率を低下させたりするという欠点が
ある。
In the conventional shared resource exclusive control method described above, when the process currently holding the lock requests an unlock and grants the lock to the next process, if the next process has been swapped out, it is swapped in and then locked. However, swap-in requires input/output processing, which increases the waiting time of other lock-waiting processes and reduces resource usage efficiency.

本発明の目的は、上述の点に鑑み、後続のロック待ちプ
ロセスのロック待ち時間を減少させるとともに共有資源
の使用効率を向上させるようにした共有資源排他制御方
式を提供することにある。
In view of the above-mentioned points, an object of the present invention is to provide a shared resource exclusive control method that reduces the lock waiting time of subsequent lock waiting processes and improves the usage efficiency of shared resources.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の共有資源排他制御方式は、計算機システムの共
有資源排他制御方式において、指定プロセスのスワップ
アウト禁止要求およびスワンプアウト禁止解除要求を受
け付けて処理するスヮソプ管理手段と、ロック待ち状態
にあるプロセスのうちの現在のロックが解除されたとき
に次にロック権が付与されるプロセスのスワップアウト
禁止を前記スワップ管理手段に要求する常駐化要求手段
と、現在ロック権が付与されているプロセスが前記常駐
化要求手段によってスヮノプアウト禁止状態にされてい
る場合に該プロセスのスワンプアウト禁止の解除を前記
スワソブ管理手段に要求する常駐解除要求手段とを有す
る。
The shared resource exclusive control method of the present invention is a shared resource exclusive control method for a computer system that includes a swap management means that receives and processes a swap-out prohibition request and a swamp-out prohibition release request of a designated process, and a swap management means that receives and processes a swap-out prohibition request and a swamp-out prohibition release request of a specified process, and a process that is in a lock wait state. resident request means for requesting the swap management means to prohibit swap-out of the process to which the lock right is next granted when the current lock is released; and resident release requesting means for requesting the swasub management means to release the swamp-out prohibition of the process when the process is in a swamp-out prohibited state by the swap requesting means.

〔作用〕[Effect]

本発明の共有資源排他制御方式では、スワップ管理手段
が指定プロセスのスワノブアウト禁止要求およびスワッ
プアウト禁止解除要求を受け付けて処理し、常駐化要求
手段がロック待ち状態にあるプロセスのうちの現在のロ
ックが解除されたときに次にロック権が付与されるプロ
セスのスワソブアウト禁止を前記スワップ管理手段に要
求し、常駐解除要求手段が現在口、り権が付与されてい
るプロセスが常駐化要求手段によってスワンプアウト禁
止状態にされている場合に該プロセスのスワップアウト
禁止の解除をスワップ管理手段に要求する。
In the shared resource exclusive control method of the present invention, the swap management means receives and processes the swank-out prohibition request and the swap-out prohibition release request of the specified process, and the resident request means receives the current lock of the process waiting for the lock. The swap management means is requested to prohibit swamp-out of the process to which the lock right is next granted when the lock is released, and the resident release request means causes the process to which the lock right is currently granted to be swamped out by the resident request means. If the process is prohibited, the swap management means is requested to release the swap-out prohibition of the process.

〔実施例〕〔Example〕

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

第1図は、本実施例の一実施例に係る共有資源排他制御
方式の構成を示すブロック図である。本実施例の共有資
源排他制御方式は、排他制御を行う排他制御手段1.現
在のロックが解除されたときに次にロック権が付与され
るロック待ちプロセスのスワップアウト禁止を要求する
常駐化要求手段2および現在ロック権が付与されている
プロセスが常駐化要求手段2によりスヮソプアウト禁止
状態にされている場合にスワンプアウト禁止の解除を要
求する常駐解除要求手段3を含む共有資源排他制御機能
4と、常駐化要求手段2および常駐解除要求手段3から
発せられるスワップアウト禁止要求およびスワップアウ
ト禁止解除要求を処理するスワップ管理手段5と、スワ
ップ管理手段5への要求待ち行列6とから構成されてい
る。
FIG. 1 is a block diagram showing the configuration of a shared resource exclusive control system according to an embodiment of the present invention. The shared resource exclusive control system of this embodiment consists of exclusive control means 1. The resident request means 2 requests swap-out prohibition of the next lock-waiting process to which the lock right is granted when the current lock is released, and the resident request means 2 requests swap-out of the process to which the lock right is currently granted. A shared resource exclusive control function 4 includes a resident release requesting means 3 that requests cancellation of the swamp-out prohibition when the swamp-out prohibition is prohibited, and a swap-out prohibition request issued from the resident request means 2 and the resident release request means 3; It is comprised of a swap management means 5 for processing swap out prohibition release requests, and a request queue 6 for the swap management means 5.

排他制御手段1は、従来と同様の排他制御を行うが、各
資源においてその資源があるプロセスによりロックされ
ているときに他のプロセスから口ソク要求された場合は
、常駐化要求手段2を呼び出した後に、該ロック要求を
出したプロセスをロック待ち状態にする。また、排他制
御手段】は、各資源においてその資源があるプロセスに
よりロックされているときに該プロセスからアンロック
要求された場合は、次にロック権を付与すべきプロセス
にロック権を付与する処理を行った後に、常駐解除要求
手段3を呼び出し、引き続いて常駐化要求手段2を呼び
出す。
The exclusive control means 1 performs the same exclusive control as in the past, but when a resource is locked by a certain process and a request is made from another process, the exclusive control means 1 calls the resident request means 2. After that, the process that issued the lock request is placed in a lock wait state. In addition, the exclusive control means is a process for granting the lock right to the next process that should be granted the lock right if the resource is locked by a certain process and the process requests an unlock. After performing this, the resident release request means 3 is called, and subsequently the resident request means 2 is called.

常駐化要求手段2は、現在のロックが解除されたときに
次にロック権が付与されるプロセスをすべて捜し出し、
それらのうちでまだスワンプアウト禁止になっていない
プロセスのスワップアウト禁止要求を要求待ち行列6に
キューイングする。
The residency requesting means 2 searches for all processes to which lock rights will be granted next when the current lock is released,
Swap-out prohibition requests for processes that are not yet prohibited from swamp-out are queued in a request queue 6.

常駐解除要求手段3は、現在ロック権が付与されている
プロセスが常駐化要求手段2によってスワップアウト禁
止状態にされている場合に、該プロセスのスワップアウ
ト禁止解除要求を要求待ち行列6にキューイングする。
When the process to which the lock right is currently granted is placed in a swap-out prohibited state by the resident request means 2, the resident release requesting means 3 queues a swap-out prohibition release request for the process in the request queue 6. do.

スワ・7プ管理手段5は、要求待ち行列6から要求を1
つずつ取り出し、スワンプアウト禁止要求に対しては、 (1)  指定プロセスがすでにスワップアウトされて
いる場合はスワップインしてから以降のスワップアウト
を禁止し、 (2)  指定プロセスがスワップアウトされていない
場合は単に以後のスワップアウトを禁止し、スフソブア
ウト禁止解除要求に対しては、指定プロセスのスワンプ
アウト禁止を解除する。
The swap management means 5 sends one request from the request queue 6.
In response to a swamp-out prohibition request, (1) if the specified process has already been swapped out, it is swapped in and subsequent swap-outs are prohibited, and (2) if the specified process has not been swapped out. If not, it simply prohibits future swap-outs, and in response to a request to cancel the swamp-out prohibition, cancels the swamp-out prohibition for the specified process.

次に、このように構成された本実施例の共有資源排他制
御方式の動作について、第2図を参照しながら具体的に
説明する。
Next, the operation of the shared resource exclusive control system of this embodiment configured as described above will be specifically explained with reference to FIG.

第2図は、3つのプロセスA、BおよびCが資#Rに対
して順次ロック要求およびアンロック要求を行う状況を
示すタイミングチャートである。
FIG. 2 is a timing chart showing a situation in which three processes A, B, and C sequentially issue lock requests and unlock requests to resource #R.

なお、ここでのロック要求は、すべて排他モードでの要
求であると仮定する。また、最初、資源Rはロックされ
ていない状態にあるものとする。
Note that it is assumed that all lock requests here are requests in exclusive mode. Further, it is assumed that the resource R is initially in an unlocked state.

時刻T1で、プロセス八が資/sRに対してロック要求
すると、排他制御手段1は、資源Rが現在ロックされて
いないので、ロック権をプロセスAに与え、プロセスA
のロック要求の処理を完了する。
At time T1, when process 8 requests a lock on resource/sR, exclusive control means 1 grants the lock right to process A, since resource R is currently not locked.
Complete processing of the lock request.

次に、時刻T2で、プロセスBが資源Rに対してロック
要求すると、排他制御手段1は、資源Rがすでにプロセ
スAによってロックされていることを検出し、常駐化要
求手段2を呼び出す。
Next, at time T2, when process B requests a lock on resource R, exclusive control means 1 detects that resource R has already been locked by process A, and calls resident request means 2.

常駐化要求手段2は、プロセスBが資aRについて次に
ロック権が付与されるプロセスであることを検出し、プ
ロセスBのスヮノプアウト禁止要求を要求待ち行列6に
キューイングして、排他制御手段1に制御を戻す。
The resident requesting means 2 detects that the process B is the next process to be granted the lock right for the resource aR, queues the request for prohibition of shutdown of the process B in the request queue 6, and sends the exclusive control means 1 to the request queue 6. Return control to.

常駐化要求手段2から制御が戻ると、排他制御手段1は
、プロセスBをロック待ち状態とする。
When control is returned from the resident requesting means 2, the exclusive control means 1 places the process B in a lock waiting state.

スワップ管理手段5は、要求待ち行列6からプロセスB
のスワンプアウト禁止要求を受け取り、プロセスBのス
ワップアウトを禁止する。
The swap management means 5 removes the process B from the request queue 6.
Process B receives a swamp-out prohibition request and prohibits process B from swapping out.

次に、時刻T3で、プロセスCが資aRに対してロック
要求すると、排他制御手段1は、プロセスBの場合と同
様にして、常駐化要求手段2を呼び出す。
Next, at time T3, when process C requests a lock for resource aR, exclusive control means 1 calls resident request means 2 in the same manner as process B.

常駐化要求手段2は、次にロック権が付与されるプロセ
スのうちにスワップアウトが禁止されていないプロセス
が存在しないために、何も行わなわずに排他制御手段1
に制御を戻す。
Since there is no process that is not prohibited from swapping out among the processes to which the lock right is next granted, the resident requesting means 2 does not do anything and requests the exclusive control means 1.
Return control to.

常駐化要求手段2から制御が戻ると、排他制御手段1は
、プロセスCをロック待ち状催とする。
When control is returned from the resident requesting means 2, the exclusive control means 1 places the process C in a lock wait state.

この後、メモリ負荷の上昇などの理由によりプロセスC
がスワップアウトされた後、時刻T4で、プロセスAが
アンロック要求すると、排他制御手段1は、ロック待ち
プロセスのうちから最も早くロック要求したプロセスB
にロック権を付与する処理を行った後に、常駐解除要求
手段3を呼び出す。
After this, due to reasons such as increased memory load, process C
is swapped out, and when process A requests an unlock at time T4, the exclusive control means 1 sends process B, which requested the lock earliest from among the lock waiting processes.
After performing the process of granting the lock right to the user, the resident release requesting means 3 is called.

常駐解除要求手段3は、プロセスBが現在ロック権を付
与されているプロセスであることおよび常駐化要求手段
2によってスヮソブアウト禁止状態にされていることを
検出し、プロセスBのスワンプアウト禁止解除要求を要
求待ち行列6にキューイングして、排他制御手段1に制
御を戻す。
The resident release requesting means 3 detects that process B is currently the process to which the lock right has been granted and that the resident requesting means 2 has set it in the swosubout-prohibited state, and requests process B to release the swamp-out prohibition. The request is queued in the request queue 6 and control is returned to the exclusive control means 1.

常駐解除要求手段3から制御が戻ると、排他制御手段1
ば、次に常駐化要求手段2を呼び出す。
When control is returned from the resident release requesting means 3, the exclusive control means 1
For example, the resident request means 2 is then called.

常駐化要求手段2は、資HRについて次にロック権が付
与されるプロセスがプロセスCであることおよびプロセ
スCはスワップアウトが禁止されていないことを検出し
、プロセスCに対するスヮソブアウト禁止要求を要求待
ち行列6にキューイングして、排他制御手段1に制御を
戻す。
The resident request means 2 detects that the next process to be granted the lock right for the resource HR is process C and that swap-out is not prohibited for process C, and waits for a request to prohibit swap-out to process C. It is queued in matrix 6 and control is returned to exclusive control means 1.

常駐化要求手段2から制御が戻ると、排他制御手段1は
、プロセスBの口、り要求の処理を完了する。
When control is returned from the residency requesting means 2, the exclusive control means 1 completes the processing of the process B's request.

スワップ管理手段5ば、要求待ち行列6から最初にプロ
セスBのスワップアウト禁止解除要求を受け取ってプロ
セスBのスワップアウト禁止を解除し、次にプロセスC
のスワップアウト禁止要求を受け取ってプロセスCをス
ヮソプアウト禁止にしようとする。しかし、プロセスC
はすでにスワップアウトされているので、スワップ管理
手段5は、プロセスCをスワップインした後に、プロセ
スCをスワップアウト禁止にする。
The swap management unit 5 first receives a request for canceling the swap-out prohibition of process B from the request queue 6, cancels the swap-out prohibition of process B, and then cancels the swap-out prohibition of process B.
receives the swap-out prohibition request and attempts to disable swap-out for process C. However, process C
has already been swapped out, so after swapping in process C, the swap management means 5 disables swapping out of process C.

1 時刻T5で、プロセスBがアンロック要求すると、排他
制御手段1は、プロセスCにロック権を付与する処理を
行った後に、常駐解除要求手段3を呼び出す。
1. At time T5, when process B makes an unlock request, exclusive control means 1 performs processing to grant lock rights to process C, and then calls resident release request means 3.

常駐解除要求手段3は、プロセスCが現在ロック権を付
与されているプロセスであることおよび常駐化要求手段
2によってスヮソブアウト禁止状態にされていることを
検出し、プロセスCのスヮノプアウト禁止解除要求を要
求待ち行列6にキュイングしてへ排他制御手段1に制御
を戻す。
The resident release requesting means 3 detects that the process C is currently the process to which the lock right has been granted and that it has been placed in a susonopout prohibition state by the resident requesting means 2, and requests a request to release the suwanopout prohibition of the process C. The data is queued in the queue 6 and control is returned to the exclusive control means 1.

常駐解除要求手段3から制御が戻ると、排他制御手段1
は、次に常駐化要求手段2を呼び出す。
When control is returned from the resident release requesting means 3, the exclusive control means 1
Next, calls the resident request means 2.

常駐化要求手段2は、ロック待ちプロセスが存在しない
ので、何も行わずに排他制御手段1に制御を戻す。
Since there is no process waiting for the lock, the resident requesting means 2 returns control to the exclusive control means 1 without doing anything.

常駐化要求手段2から制御が戻ると、排他制御手段1は
、プロセスCのロック要求の処理を完了する。
When control is returned from the resident requesting means 2, the exclusive control means 1 completes processing of the process C lock request.

なお、上記実施例の動作の説明では、ロック要求がすべ
て排他モードであると仮定したが、共有モードのロック
要求が混在している場合でも、常駐化要求手段2および
常駐解除要求手段3で共有モードのロック要求を出して
いる複数のプロセスに対するスワップアウト禁止要求お
よびスワソブアウト禁止解除要求が行われる場合が加わ
るだけであり、同様に処理が行われる。
In the explanation of the operation of the above embodiment, it is assumed that all lock requests are in the exclusive mode, but even if lock requests in the shared mode are mixed, the resident request means 2 and the resident release request means 3 share the lock request. Processing is carried out in the same way, except that a swap-out prohibition request and a swap-out prohibition release request are made to multiple processes that have issued mode lock requests.

また、本実施例でのスワップアウト禁止を従来行ってい
たロノク/アンロノク処理中のスワンプアウト禁止と区
別して処理すれば、ロソク/アンロソク処理中のスワン
プアウト禁止処理と本実施例でのスワップアウト禁止処
理との併用も可能である。
In addition, if the swap-out prohibition in this embodiment is treated separately from the swamp-out prohibition during ronoku/unrosoku processing, which has been performed previously, the swamp-out prohibition processing during rosoku/unrosoku processing and the swap-out prohibition in this embodiment can be treated separately. It is also possible to use it in combination with treatment.

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

以上説明したように本発明は、現在のロックが解除され
たときに次にロック権が付与されるプロセスがスワップ
アウトされていない場合はスワツプアウトを禁止し、該
プロセスがスワソブアウト中の場合は該プロセスのスワ
ップイン処理と現在口・7り中のプロセスの処理とを時
間的にオーハラ、/ブさせて該プロセスをスワップイン
しさらにスワツプアウトを禁止することにより、後続の
ロック待ちプロセスのロック待ち時間を減少させるとと
もに共有資源の使用効率を向上させる効果がある。
As explained above, the present invention prohibits swap-out if the process to which the lock right is next granted when the current lock is released has not been swapped out, and if the process is currently being swapped out, the swap-out is prohibited. The lock waiting time of subsequent lock waiting processes can be reduced by temporarily overriding the swap-in processing of the process and the processing of the process currently in progress, swapping the process in, and prohibiting swap-out. This has the effect of reducing the amount of energy used and improving the efficiency of using shared resources.

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

第1図は本発明の一実施例に係る共有資源排他制御方式
の構成を示すブロソク図、 第2図は本実施例の共有資源排他制御方式の動作を具体
的に説明するタイミングチャートである。 図において、 1・・・排他制御手段、 2・・・常駐化要求手段、 3・・・常駐解除要求手段、 4・・・共有資源排他制御機能、 5・・・スワップ管理手段、 6・・・要求待ち行列である。
FIG. 1 is a block diagram showing the configuration of a shared resource exclusive control method according to an embodiment of the present invention, and FIG. 2 is a timing chart specifically explaining the operation of the shared resource exclusive control method of this embodiment. In the figure, 1... Exclusive control means, 2... Resident request means, 3... Resident release request means, 4... Shared resource exclusive control function, 5... Swap management means, 6... - It is a request queue.

Claims (1)

【特許請求の範囲】 計算機システムの共有資源排他制御方式において、 指定プロセスのスワップアウト禁止要求およびスワップ
アウト禁止解除要求を受け付けて処理するスワップ管理
手段と、 ロック待ち状態にあるプロセスのうちの現在のロックが
解除されたときに次にロック権が付与されるプロセスの
スワップアウト禁止を前記スワップ管理手段に要求する
常駐化要求手段と、 現在ロック権が付与されているプロセスが前記常駐化要
求手段によってスワップアウト禁止状態にされている場
合に該プロセスのスワップアウト禁止の解除を前記スワ
ップ管理手段に要求する常駐解除要求手段と を有することを特徴とする共有資源排他制御方式。
[Claims] In a shared resource exclusive control method for a computer system, there is provided a swap management means for receiving and processing a swap out prohibition request and a swap out prohibition cancellation request from a designated process; resident request means for requesting the swap management means to prohibit swap-out of the process to which the lock right is next granted when the lock is released; 1. A shared resource exclusive control method, comprising: resident release requesting means for requesting the swap management means to release the swap-out prohibition of the process when the process is in a swap-out prohibited state.
JP17615189A 1989-07-07 1989-07-07 Exclusive control system for shared resources Pending JPH0340140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17615189A JPH0340140A (en) 1989-07-07 1989-07-07 Exclusive control system for shared resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17615189A JPH0340140A (en) 1989-07-07 1989-07-07 Exclusive control system for shared resources

Publications (1)

Publication Number Publication Date
JPH0340140A true JPH0340140A (en) 1991-02-20

Family

ID=16008555

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17615189A Pending JPH0340140A (en) 1989-07-07 1989-07-07 Exclusive control system for shared resources

Country Status (1)

Country Link
JP (1) JPH0340140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013168025A (en) * 2012-02-15 2013-08-29 Nec Corp Information processing device and information processing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013168025A (en) * 2012-02-15 2013-08-29 Nec Corp Information processing device and information processing method

Similar Documents

Publication Publication Date Title
US7174552B2 (en) Method of accessing a resource by a process based on a semaphore of another process
US5678026A (en) Multi-processor data processing system with control for granting multiple storage locks in parallel and parallel lock priority and second level cache priority queues
JP2533266B2 (en) Locking method of data resource in shared data system and data lock management method between systems
US5613139A (en) Hardware implemented locking mechanism for handling both single and plural lock requests in a lock message
US7360035B2 (en) Atomic read/write support in a multi-module memory configuration
US6016490A (en) Database management system
JPH03196249A (en) Multiple processor system
JPH1115793A (en) Protection method for resource maintainability
US5317737A (en) Method and apparatus for controlling a re-entrant synchronization lock tenure in a multiprocessor system
JPH0340140A (en) Exclusive control system for shared resources
US20040267745A1 (en) Entry locking for large data structures
JPH04223533A (en) Common resource exclusive control system
JP2518134B2 (en) Shared resource exclusive control method
JP3036468B2 (en) Exclusive control processing device, exclusive control processing method, and storage medium storing exclusive control processing program
EP1228429B1 (en) Sharing resources among entities
JPH0478932A (en) Shared resource exclusion control system
JPH0644191A (en) Buffer control method
JPH0383142A (en) Shared resource exclusive control system
JPH03116260A (en) Spin lock system for multiprocessor system
JPH06250969A (en) Bus control method in multiprocessor system
JPH03257568A (en) Exclusive control system for shared resources
JPH04262425A (en) Exclusive control system for commonly shared resource
JPH05289986A (en) Bus system
JPH02194442A (en) Shared resource controller
JP2694812B2 (en) Arbitration system