JP2560620B2 - Exclusive control device with time limit - Google Patents

Exclusive control device with time limit

Info

Publication number
JP2560620B2
JP2560620B2 JP5218468A JP21846893A JP2560620B2 JP 2560620 B2 JP2560620 B2 JP 2560620B2 JP 5218468 A JP5218468 A JP 5218468A JP 21846893 A JP21846893 A JP 21846893A JP 2560620 B2 JP2560620 B2 JP 2560620B2
Authority
JP
Japan
Prior art keywords
time limit
time
shared resource
exclusive
interval timer
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
JP5218468A
Other languages
Japanese (ja)
Other versions
JPH0773052A (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 JP5218468A priority Critical patent/JP2560620B2/en
Publication of JPH0773052A publication Critical patent/JPH0773052A/en
Application granted granted Critical
Publication of JP2560620B2 publication Critical patent/JP2560620B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明はコンピュータシステムに
おける時間制限付排他制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time-limited exclusive control device in a computer system.

【0002】[0002]

【従来の技術】時間制限付排他制御装置、すなわち、共
有資源の独占的使用である排他制御機能を一定時間内で
のみ認めるように制御する制御装置は、従来、時間間隔
を測定するインタバルタイマを使用した時間制御処理機
能と、システムの提供する排他制御処理機能とを別々の
処理機能として実施していた。
2. Description of the Related Art A time-limited exclusive control device, that is, a control device that controls an exclusive control function, which is an exclusive use of shared resources, to be allowed only within a fixed time, has conventionally been equipped with an interval timer for measuring a time interval. The time control processing function used and the exclusive control processing function provided by the system are implemented as separate processing functions.

【0003】図2を参照して従来の時間制限付排他制御
装置を説明する。図2において、中央処理装置21で実
行中のプロセス22がシステムの共有資源(図示されて
いない)の1つを時間制限付で使用するときには、先
ず、システムの提供する排他制御処理機能から排他利用
権を獲得し、その後、インタバルタイマ制御部23を起
動させ共有資源を使用すべき特定の制限時間を登録す
る。インタバルタイマ制御部23は登録時からインタバ
ルタイマ24を起動させて、制限時間を監視し、制限時
間経過後、割込処理制御部26がインタバルタイマラン
アウト処理手順25により時間到達通知先27に時間の
到達を通知する。
A conventional time-limited exclusive control device will be described with reference to FIG. In FIG. 2, when the process 22 running in the central processing unit 21 uses one of the shared resources (not shown) of the system with a time limit, first, the exclusive control processing function provided by the system is used exclusively. After acquiring the right, the interval timer control unit 23 is activated to register a specific time limit for using the shared resource. The interval timer control unit 23 activates the interval timer 24 from the time of registration, monitors the time limit, and after the time limit elapses, the interrupt processing control unit 26 notifies the time arrival notification destination 27 of the time by the interval timer runout processing procedure 25. Notify arrival.

【0004】制限時間を登録してシステムの共有資源の
1つを独占使用しているプロセス22は常に時間到達通
知先27に制限時間の到達の通知が実施されたか否かを
チェックして、その通知があったときに、または、制限
時間内で共有資源の独占使用を終了したときに、排他利
用権解除処理を行なわせるために、システムの排他制御
処理機能を起動させる。
The process 22 that registers the time limit and monopolizes one of the shared resources of the system always checks whether the time limit notification destination 27 has been notified of the arrival of the time limit, and When notified, or when the exclusive use of the shared resource is completed within the time limit, the exclusive control processing function of the system is activated to perform the exclusive use right release processing.

【0005】このように、従来の時間制限付排他制御装
置は時間制御処理機能と排他制御処理機能とは別々の処
理機能としてその必要の都度、プロセスが起動をかけて
いた。
As described above, in the conventional time-limited exclusive control device, the process is activated each time the time control processing function and the exclusive control processing function are separate processing functions.

【0006】これは、システムに1つしかないインタバ
ルタイマ24を、多数のプロセスが種々の用途に使用で
きるようにするために、1つの独立の機能としており、
その使用目的を問わず、インタバルタイマランアウト処
理手順25は各種用途に共通した必要な動作を実行せね
ばならないため、時間到達通知先27を設けて、これで
制限時間の到達を通知しているのである。排他制御もそ
の1使用目的にすぎない。
This makes the interval timer 24, which is the only one in the system, one independent function so that many processes can be used for various purposes.
Regardless of the purpose of use, the interval timer runout processing procedure 25 must execute necessary operations common to various applications. Therefore, a time arrival notification destination 27 is provided to notify the arrival of the time limit. is there. Exclusive control is only one of its purposes.

【0007】[0007]

【発明が解決しようとする課題】上述した従来の時間制
限付排他制御装置は、システム資源の排他制御処理と、
時間制御処理とが別々の処理として実施されるために、
あるプロセスがこの2つの処理の間において、システム
で動作する他プロセスの異常動作等の影響により処理が
中断するようなときには、時間制限付排他制御が有効に
機能しないという欠点がある。
The above-described conventional time-limited exclusive control device includes an exclusive control process for system resources,
Since the time control process is performed as a separate process,
When a process is interrupted between these two processes due to an abnormal operation of another process operating in the system, there is a drawback that the time-limited exclusive control does not function effectively.

【0008】このことを図3を参照して説明する。図3
は従来の時間制限付排他制御装置の動作を示す流れ図で
ある。ステップ31で、あるプロセスの要求によりシス
テムが排他利用権獲得処理を行なった後、そのプロセス
は制限時間設定処理をインタバルタイマに行なって、時
間制御処理を起動させる(ステップ32)。プロセスは
システムの共有資源を使用して処理Aを実行しながら
(ステップ33)制限時間に到達したかどうかを常にチ
ェックしている(ステップ34)。制限時間に到達した
とき(ステップ34のYES 枝)、または制限時間内で処
理Aが終了したときには(ステップ35のYES 枝)、そ
のプロセスはシステムの排他利用権解除処理を起動させ
て(ステップ36)時間制限付排他制御を終了する。
This will be described with reference to FIG. FIG.
6 is a flowchart showing the operation of a conventional time-limited exclusive control device. In step 31, after the system performs the exclusive use right acquisition process at the request of a certain process, the process performs the time limit setting process on the interval timer to activate the time control process (step 32). While performing the process A using the shared resources of the system (step 33), the process constantly checks whether the time limit has been reached (step 34). When the time limit is reached (YES branch of step 34) or when the process A ends within the time limit (YES branch of step 35), the process activates the exclusive use right release process of the system (step 36). ) End the time-limited exclusive control.

【0009】図3中に示す時刻t1 から時刻t2 の区間
で排他利用を要求したプロセスの処理が中断してしまっ
た場合、システム資源の独占状態がいつまでも解除され
ない状態となり、システム運用に支障が生じるという問
題点が存在するのである。
When the process of the process requesting the exclusive use is interrupted in the section from the time t1 to the time t2 shown in FIG. 3, the monopolized state of the system resource is never released and the system operation is hindered. That is the problem.

【0010】本発明の目的は、排他利用を要求したプロ
セスの処理が中断してしまった場合でも制限時間に到達
した場合には、システム資源の独占状態がいつまでも解
除されない状態とはならない時間制限付排他制御装置を
提供することにある。
An object of the present invention is to provide a time limit that does not result in the monopoly state of system resources not being released indefinitely if the time limit is reached even if the process of the process requesting exclusive use is interrupted. To provide an exclusive control device.

【0011】[0011]

【課題を解決するための手段】第1の発明の時間制限付
排他制御装置は、システムの有する共有資源の1つの時
間制限付排他使用要求に応答して前記要求を行なったプ
ロセスを前記共有資源の使用待ちプロセスとするか前記
共有資源の使用権獲得プロセスとするかを決めるプロセ
ス状態制御手段と、前記共有資源に対応して設けられた
複数のインタバルタイマと、前記使用権獲得プロセスの
使用要求する共有資源に対応する前記インタバルタイマ
に前記使用権獲得プロセスの要求する排他使用制限時間
を設定し時間経過を監視するインタバルタイマ群制御手
段と、前記使用権獲得プロセスの要求する排他使用制限
時間到達時の前記共有資源に対応する処理手順を記憶し
前記インタバルタイマ群制御手段からの排他使用制限時
間到達の通知に応答してその通知に対応する前記処理手
順を選択して他に優先してシステムに実行させる割込制
御手段とを含んで構成されている。
According to a first aspect of the present invention, there is provided a time-limited exclusive control device, wherein a process which makes the request in response to one time-limited exclusive use request of a shared resource of the system is shared resource. Process control means for deciding whether to use the shared resource as a waiting process or a usage right acquisition process for the shared resource, a plurality of interval timers provided corresponding to the shared resource, and a usage request for the usage right acquisition process. Interval timer group control means for setting an exclusive use time limit required by the usage right acquisition process in the interval timer corresponding to the shared resource and monitoring the elapsed time, and reaching an exclusive use time limit required by the usage right acquisition process. the shared resource to store the corresponding processing procedure respond to the exclusive use time limit arrival of notifications from the interval timer group control means when Select the processing procedure corresponding to the notification and is configured to include an interrupt controller to be executed by the system in preference to others.

【0012】第2の発明の時間制限付排他制御装置は、
第1の発明において、排他使用制限時間到達時の共有資
源に対応する処理手順は共有資源の利用管理に対応した
時間制限付排他使用解除処理手順であることを特徴とし
ている。
The exclusive control device with time limit of the second invention is
In the first invention, the shared resource when the exclusive use time limit is reached
The processing procedure corresponding to the source is characterized by being a time-limited exclusive use cancellation processing procedure corresponding to the usage management of the shared resource .

【0013】[0013]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0014】図1は本発明の時間制限付排他制御装置の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the time-limited exclusive control device of the present invention.

【0015】本実施例の時間制限付排他制御装置は、図
1に示すように、中央処理装置1と、中央処理装置1で
処理実行中のプロセス2と、共有資源の使用を希望する
プロセスの状態制御を行なうプロセス状態制御部3と、
複数のインタバルタイマ5〜8と、これらのインタバル
タイマに制限時間をセットして制限時間の到達を監視す
るインタバルタイマ群制御部4と、制限時間到達時に中
央処理装置1に割り込みを行ない登録された処理手順1
0〜13のうちの対応する処理手順を他に優先して中央
処理装置1に実行させる割込処理制御部9と、利用待ち
状態にあるプロセス14〜15とを含んで構成されてい
る。
As shown in FIG. 1, the time-limited exclusive control apparatus of the present embodiment includes a central processing unit 1, a process 2 being executed by the central processing unit 1, and a process desiring to use a shared resource. A process state control unit 3 for performing state control,
A plurality of interval timers 5 to 8, an interval timer group control unit 4 that sets a time limit on these interval timers and monitors the arrival of the time limit, and an interrupt is registered in the central processing unit 1 when the time limit is reached. Processing procedure 1
It is configured to include an interrupt processing control unit 9 that causes the central processing unit 1 to preferentially execute the corresponding processing procedure of 0 to 13 and processes 14 to 15 in a use waiting state.

【0016】図4はプロセス状態制御部3の動作を示す
流れ図、図5はインタバルタイマ群制御部4の動作を示
す流れ図、図6は割込処理制御部9の動作を示す流れ図
である。
FIG. 4 is a flow chart showing the operation of the process state control section 3, FIG. 5 is a flow chart showing the operation of the interval timer group control section 4, and FIG. 6 is a flow chart showing the operation of the interrupt processing control section 9.

【0017】図1および図4〜6を参照して本実施例の
動作を説明する。
The operation of this embodiment will be described with reference to FIGS. 1 and 4 to 6.

【0018】多重プログラミング方式を採用しているコ
ンピュータシステムの中央処理装置1上で動作している
プロセス2が、特定の管理テーブルや周辺装置などのシ
ステム共有資源を他のプロセスとは排他的に時間制限付
で利用しようとする際は、時間制限排他要求命令を発行
する。
The process 2 operating on the central processing unit 1 of the computer system adopting the multiple programming system allocates system shared resources such as a specific management table and peripheral devices exclusively to other processes. If you want to use it with a limitation, issue a time limit exclusion request command.

【0019】このときは、排他利用の対象となるシステ
ム共有資源を一意に識別する識別名と、制限時間と、制
限時間到達時の処理手順とを指定する。オペレーテイン
グシステムにとって、システム共有資源はCPUのみで
はなく、各種周辺装置の利用権、各種フアイルの利用
権、オペレーテイングシステム制御用のデータ利用権な
ど多数の種類が存在し、それぞれの利用権は固有の方法
で管理されているので、排他利用権開放処理の具体的な
処理手順は異なる。例えば、オペレーテイングシステム
制御用のデータ利用権はセマホア機能を使って排他を行
なっているので、この開放処理はセマホアの開放処理が
必要になり、各種周辺装置の利用権は周辺管理テーブル
の制御データの値を更新して利用しているので、この開
放処理が必要となる等、排他利用権開放処理の具体的な
処理手順は異るので、制限時間到達時の処理手順を共有
資源に対応して指定する必要がある。
At this time, an identification name for uniquely identifying the system shared resource to be exclusively used, a time limit, and a processing procedure when the time limit is reached are specified. Operatein
CPU is the only system shared resource
Rather, the right to use various peripheral devices, the use of various files
Rights, data usage rights for operating system control
There are many types, and each usage right has its own method.
Since it is managed by
The processing procedure is different. For example, operating system
The data usage right for control is locked using the semaphore function.
Since this is the release process, the release process of the semaphore is
Peripheral management table for usage rights of various peripheral devices
Since the control data value of is used after being updated,
For example, the release processing is required.
Since the processing procedure is different, share the processing procedure when the time limit is reached
It must be specified according to the resource.

【0020】プロセス状態制御部3は図4に示すよう
に、排他要求命令のときには(ステップ41のYES 枝)
識別名に対応する共有資源の状態をチェックし(ステッ
プ42)、この共有資源が他のプロセスで使用中のとき
には(ステップ43のYES 枝)、排他要求命令を発行し
たプロセスを利用待ちプロセスとして待ち状態とし(ス
テップ44)、この共有資源が他のプロセスで使用中で
ないときには(ステップ43のNO枝) 、これに排他利用
権を与え排他利用の対象となるシステム共有資源を一意
に識別する識別名と、制限時間と、制限時間到達時の処
理手順とをインタバルタイマ群制御部4に通知する(ス
テップ45)。
As shown in FIG. 4, the process state control unit 3 receives an exclusion request instruction (YES branch of step 41).
The state of the shared resource corresponding to the identification name is checked (step 42), and when this shared resource is being used by another process (YES branch of step 43), the process that issued the exclusion request instruction is waited for as a process waiting for use. When the shared resource is set to the state (step 44) and this shared resource is not being used by another process (NO branch of step 43), an exclusive use right is given to this shared resource to uniquely identify the system shared resource targeted for exclusive use. Then, the interval timer group control unit 4 is notified of the time limit and the processing procedure when the time limit is reached (step 45).

【0021】この通知を受けたインタバルタイマ群制御
部4は、図5に示すように、識別名に対応するインタバ
ルタイマ5をサーチし(ステップ51)、これに与えら
れた制限時間をセットしインタバルタイマ5の値を時間
の経過とともに減算していく(ステップ53)。また、
割込処理制御部9に対し、制限時間到達時の処理手順1
0を登録する(ステップ54)。
Upon receiving this notification, the interval timer group control unit 4 searches the interval timer 5 corresponding to the identification name as shown in FIG. 5 (step 51), sets the time limit given thereto, and sets the interval time. The value of the timer 5 is subtracted as time passes (step 53). Also,
Processing procedure 1 when the time limit is reached for the interrupt processing control unit 9
0 is registered (step 54).

【0022】時間制限排他要求命令を発行したプロセス
2は、システム資源の排他利用権を獲得したこととな
り、利用待ち状態となることなく処理を続行していく。
The process 2, which has issued the time-limited exclusion request command, has acquired the exclusive use right of the system resource, and continues the processing without waiting for the use.

【0023】排他利用権を獲得しているプロセス2が、
制限時間に到達する前に識別名を指定して時間制限排他
解除命令を発行した場合、プロセス状態制御部3は図4
に示すように、この命令を受けて(ステップ41のNO
枝)、識別名に対応する共有資源の状態をチェックし
(ステップ46)、この共有資源に使用待ちプロセスが
あるときには(ステップ47のYES 枝) 、この使用待ち
プロセスが要求した排他利用の対象となるシステム共有
資源を一意に識別する識別名と、制限時間と、制限時間
到達時の処理手順とをインタバルタイマ群制御部4に通
知する(ステップ48)。
The process 2 which has acquired the exclusive use right
If the time limit exclusion release command is issued by specifying the identification name before the time limit is reached, the process state control unit 3 will
In response to this command (NO in step 41),
(Branch), the state of the shared resource corresponding to the identifier is checked (step 46), and if there is a process waiting for use in this shared resource (YES branch of step 47), it is judged as the exclusive use target requested by this process waiting for use. The interval timer group control unit 4 is notified of the identification name for uniquely identifying the system shared resource, the time limit, and the processing procedure when the time limit is reached (step 48).

【0024】この共有資源に使用待ちプロセスがないと
きには(ステップ47のNO枝) 、対応するインタバルタ
イマ、処理手順のリセットをインタバルタイマ群制御部
4に通知し(ステップ49)、インタバルタイマ群制御
部4は図5に示すように、ステップ57で対応するイン
タバルタイマをリセットし、かつ、対応する処理手順の
取り消しを割込処理制御部9に通知し、これに応答して
割込処理制御部9は図6に示すように、ステップ65で
この処理手順の登録を取消して時間制限排他解除命令の
処理を終了する。
When there is no process waiting for use in this shared resource (NO branch of step 47), the interval timer group controller 4 is notified of the reset of the corresponding interval timer and processing procedure (step 49), and the interval timer group controller. As shown in FIG. 5, reference numeral 4 resets the corresponding interval timer in step 57, notifies the interrupt processing control unit 9 of cancellation of the corresponding processing procedure, and responds to this by interrupt processing control unit 9 As shown in FIG. 6, in step 65, the registration of this processing procedure is canceled and the processing of the time-limited exclusion cancellation command is ended.

【0025】排他利用権を獲得しているプロセス2が、
時間制限排他解除命令を発行する前に対応するインタバ
ルタイマ値が減算されつづけて制限時間に到達した場合
は(ステップ55のYES 枝)、制限時間到達事象が発生
し、インタバルタイマ群制御部4は制限時間に到達した
ことを割込処理制御部9に通知する(ステップ56)。
Process 2, which has acquired the exclusive use right,
If the corresponding interval timer value continues to be decremented before the time limit exclusion release command is issued and the time limit is reached (YES branch of step 55), a time limit reaching event occurs and the interval timer group control unit 4 The interruption processing control unit 9 is notified that the time limit has been reached (step 56).

【0026】割込処理制御部9は制限時間到達の通知に
呼応して(ステップ61のYES 枝)、対応する処理手順
をサーチし(ステップ62)、この制限時間到達時の処
理手順を他に優先して中央処理装置1上で実行し、制限
時間到達時の処理を終了する。
In response to the notification that the time limit has been reached (YES branch of step 61), the interrupt process control unit 9 searches for the corresponding process procedure (step 62), and the process procedure when the time limit is reached is changed. The process is preferentially executed on the central processing unit 1 to finish the process when the time limit is reached.

【0027】この制限時間到達時の処理はプロセスによ
り、任意に選択できるが、一例としては、時間制限排他
解除命令を発行してステップ46に戻る処理がある。
The process at the time of reaching the time limit can be arbitrarily selected by the process, but as an example, there is a process of issuing a time limit exclusion cancellation command and returning to step 46.

【0028】このように、本実施例では、時間制御機能
と排他制御機能とを一体化することにより、排他利用を
要求したプロセスの処理が中断してしまった場合でも制
限時間に到達した場合には、排他利用を要求したプロセ
スに依存することなく、デッドロックを回避することが
でき、システム資源の一層の有効活用ができる。
As described above, in this embodiment, by integrating the time control function and the exclusive control function, even when the process of the process requesting the exclusive use is interrupted, the time limit is reached. Can avoid the deadlock without depending on the process requesting exclusive use, and can make more effective use of system resources.

【0029】[0029]

【発明の効果】以上説明したように、本発明の時間制限
付排他制御装置は、時間制御機能と排他制御機能とを一
体化することにより、排他利用を要求したプロセスの処
理が中断してしまった場合でも制限時間に到達した場合
には、システム資源の独占状態がいつまでも解除されな
い状態とはならず、システム資源の一層の有効活用がで
きるという効果を有する。
As described above, in the time-limited exclusive control device of the present invention, by integrating the time control function and the exclusive control function, the processing of the process requesting the exclusive use is interrupted. Even when the time limit is reached, even if the time limit is reached, the monopolized state of the system resources is not released and the system resources can be used more effectively.

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

【図1】本発明の時間制限付排他制御装置の一実施例を
示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of a time-limited exclusive control device of the present invention.

【図2】従来の時間制限付排他制御装置の例を示すブロ
ック図である。
FIG. 2 is a block diagram showing an example of a conventional time-limited exclusive control device.

【図3】従来の時間制限付排他制御装置の動作を示す流
れ図である。
FIG. 3 is a flowchart showing the operation of a conventional time-limited exclusive control device.

【図4】プロセス状態制御部3の動作を示す流れ図であ
る。
FIG. 4 is a flowchart showing the operation of the process state control unit 3.

【図5】インタバルタイマ群制御部4の動作を示す流れ
図である。
FIG. 5 is a flowchart showing the operation of the interval timer group control unit 4.

【図6】割込処理制御部9の動作を示す流れ図である。FIG. 6 is a flowchart showing the operation of the interrupt processing control unit 9.

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

1、21 中央処理装置 2、14、15、22 プロセス 3 プロセス状態制御部 4 インタバルタイマ群制御部 5〜8、24 インタバルタイマ 9 割込処理制御部 10〜13 処理手順 23 インタバルタイマ制御部 25 インタバルタイマランアウト処理手順 27 時間到達通知先 31〜36、41〜49、51〜57、61〜65
流れ図のステップ
1, 21 Central processing unit 2, 14, 15, 22 Process 3 Process state control unit 4 Interval timer group control unit 5-8, 24 Interval timer 9 Interrupt processing control unit 10-13 Processing procedure 23 Interval timer control unit 25 Interval Timer run-out processing procedure 27-hour arrival notification destination 31-36, 41-49, 51-57, 61-65
Flow chart steps

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 システムの有する共有資源の1つの時間
制限付排他使用要求に応答して前記要求を行なったプロ
セスを前記共有資源の使用待ちプロセスとするか前記共
有資源の使用権獲得プロセスとするかを決めるプロセス
状態制御手段と、前記共有資源に対応して設けられた複
数のインタバルタイマと、前記使用権獲得プロセスの使
用要求する共有資源に対応する前記インタバルタイマに
前記使用権獲得プロセスの要求する排他使用制限時間を
設定し時間経過を監視するインタバルタイマ群制御手段
と、前記使用権獲得プロセスの要求する排他使用制限時
間到達時の前記共有資源に対応する処理手順を記憶し前
記インタバルタイマ群制御手段からの排他使用制限時間
到達の通知に応答してその通知に対応する前記処理手順
を選択して他に優先してシステムに実行させる割込制御
手段とを含むことを特徴とする時間制限付排他制御装
置。
1. A process that has made a request in response to a time-limited exclusive use request for a shared resource possessed by the system is either a process waiting for use of the shared resource or a process for acquiring a right to use the shared resource. Requesting the usage right acquisition process to the process state control means, a plurality of interval timers provided corresponding to the shared resource, and the interval timer corresponding to the shared resource requested to be used by the usage right acquisition process. An interval timer group control means for setting an exclusive use time limit and monitoring the lapse of time, and storing a processing procedure corresponding to the shared resource when the exclusive use time limit required by the usage right acquisition process is stored and storing the interval timer group. In response to the notification that the exclusive use time limit has been reached from the control means, the processing procedure corresponding to the notification is selected to give priority to others. And an interrupt control means for causing the system to execute the system.
【請求項2】 排他使用制限時間到達時の共有資源に対
応する処理手順は共有資源の利用管理に対応した時間制
限付排他使用解除処理手順であることを特徴とする請求
項1記載の時間制限付排他制御装置。
2. A shared resource when an exclusive use time limit is reached
2. The time-limited exclusive control device according to claim 1 , wherein the corresponding processing procedure is a time-limited exclusive use cancellation processing procedure corresponding to usage management of the shared resource .
JP5218468A 1993-09-02 1993-09-02 Exclusive control device with time limit Expired - Fee Related JP2560620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5218468A JP2560620B2 (en) 1993-09-02 1993-09-02 Exclusive control device with time limit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5218468A JP2560620B2 (en) 1993-09-02 1993-09-02 Exclusive control device with time limit

Publications (2)

Publication Number Publication Date
JPH0773052A JPH0773052A (en) 1995-03-17
JP2560620B2 true JP2560620B2 (en) 1996-12-04

Family

ID=16720395

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5218468A Expired - Fee Related JP2560620B2 (en) 1993-09-02 1993-09-02 Exclusive control device with time limit

Country Status (1)

Country Link
JP (1) JP2560620B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5568491B2 (en) * 2011-01-31 2014-08-06 ルネサスエレクトロニクス株式会社 Multiprocessor device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2566002B2 (en) * 1989-02-28 1996-12-25 株式会社東芝 Task dispatching method

Also Published As

Publication number Publication date
JPH0773052A (en) 1995-03-17

Similar Documents

Publication Publication Date Title
JP3557947B2 (en) Method and apparatus for simultaneously starting thread execution by a plurality of processors and computer-readable recording medium
KR101610828B1 (en) Apparatus and method for managing interrupts On/Off for multi-core processor
JP2560620B2 (en) Exclusive control device with time limit
JPH0635758A (en) Program monitor controller
JP6558008B2 (en) Transfer device, transfer system, and program
JP6207213B2 (en) Information processing device
JP2010026575A (en) Scheduling method, scheduling device, and multiprocessor system
WO2019038834A1 (en) Information processing device and resource use coordination method
JP4039145B2 (en) Multiprocessor system, load balancing control method used therefor, and program thereof
JP2017107441A (en) Information processing device, and control device and control method therefor
JP2856761B2 (en) Resource lock management device
JP2023091314A (en) Semiconductor device, control method of semiconductor device, and program
JP3096760B2 (en) Common data reference setting device and reference setting method
JPH01291333A (en) Event sorting processing system
JP2001014274A (en) Information processor and exclusive control method
JPH0991172A (en) Memory control state monitoring device
JPH03131935A (en) Timer managing system
JP2814738B2 (en) I / O management method of shared disk device in hot standby system
JPH11224204A (en) Exclusive control unit and its method
JPH02112030A (en) System for exclusive control
KR20180112709A (en) Monitoring system, device and engineering tool
JPS6265157A (en) Exclusive control system for roughly coupled multi-processor system
JPS60252966A (en) File access possible time advance notice processing system
JPH07175671A (en) Process managing system
JPH01316846A (en) Buffer managing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960723

LAPS Cancellation because of no payment of annual fees