Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6316775B2 - - Google Patents
[go: Go Back, main page]

JPS6316775B2 - - Google Patents

Info

Publication number
JPS6316775B2
JPS6316775B2 JP20639081A JP20639081A JPS6316775B2 JP S6316775 B2 JPS6316775 B2 JP S6316775B2 JP 20639081 A JP20639081 A JP 20639081A JP 20639081 A JP20639081 A JP 20639081A JP S6316775 B2 JPS6316775 B2 JP S6316775B2
Authority
JP
Japan
Prior art keywords
srr
task
priority
occupied
program
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
Application number
JP20639081A
Other languages
Japanese (ja)
Other versions
JPS58107961A (en
Inventor
Yasushi Sugimura
Masahiro Kurata
Tomoyuki Furukawa
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP20639081A priority Critical patent/JPS58107961A/en
Publication of JPS58107961A publication Critical patent/JPS58107961A/en
Publication of JPS6316775B2 publication Critical patent/JPS6316775B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4812Task transfer initiation or dispatching by interrupt, e.g. masked
    • G06F9/4831Task transfer initiation or dispatching by interrupt, e.g. masked with variable priority

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 本発明は情報処理装置の制御方法に関し、詳し
くは、複数プログラムを1台または複数台の
CPUを有する同一のシステム上で効率良く多重
走行させるための制御方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method for controlling an information processing device, and more specifically, a method for controlling an information processing device by controlling a plurality of programs on one or more devices.
The present invention relates to a control method for efficient multiple running on the same system having a CPU.

一般に情報処理装置では、該処理装置の使用効
率を高めるため、複数のプログラムを並列的に同
時に動作させている。この同時に行われる処理単
位はタスクまたはプロセスと呼ばれるが、以下で
はタスクと呼ぶことにする。
Generally, in an information processing device, a plurality of programs are simultaneously operated in parallel in order to increase the usage efficiency of the processing device. This unit of processing that is performed simultaneously is called a task or process, and will be referred to as a task below.

第1図は従来のタスク実行制御の概念図で、1
はタスク制御表、2はタスク優先度、3は実行待
行列ターミナル群を示す。タスクの実行順序制御
は、一般にターン・アラウンド・タイムを規定時
間に押えるなどのため、次のように行なわれてい
る。あらかじめタスク制御表1に緊急度等に応じ
て優先度2を設定保持しておく。また、優先度に
対応した待行列ターミナル群3を設けておく。タ
スクが待ち事象完了等により実行可能状態になる
とき、制御プログラムはタスク制御表1の優先度
2を調べ、待行列ターミナル群3の対応するター
ミナルに先着順につなぎこむ。一つのタスクの処
理が終了または事象待ちやタイムスライス切れの
ため中断した場合、制御プログラムは待ち行列タ
ーミナル群3を優先度順に調べ、優先度の高いタ
スクの処理を実行する。
Figure 1 is a conceptual diagram of conventional task execution control.
indicates a task control table, 2 indicates a task priority, and 3 indicates a group of execution queue terminals. The execution order of tasks is generally controlled as follows in order to keep the turnaround time within a specified time. Priority level 2 is set and maintained in task control table 1 in advance according to the degree of urgency. In addition, queue terminal groups 3 corresponding to priorities are provided. When a task becomes executable due to the completion of a waiting event or the like, the control program checks priority 2 in the task control table 1 and connects the task to the corresponding terminal in the queue terminal group 3 on a first-come, first-served basis. When the processing of one task is terminated or interrupted due to waiting for an event or expiration of a time slice, the control program examines the queue terminal group 3 in order of priority and executes the processing of the task with the higher priority.

このような並列処理を行なう場合、フアイルや
制御表、情報などの共有資源のうちには、タスク
間で排他的に使用する必要があるものがある。こ
れらを以下ではシリアル・リユーザブル・リソー
ス(SRR)と呼ぶことにする。すなわち、1つ
のタスクがSRRを占有した状態で、他のタスク
に処理が移つた場合に、該当SRRを使用したい
他のタスクは、これを占有しているタスクの処理
が再開し解放が宣言されるまで使用する事ができ
ない。
When such parallel processing is performed, some shared resources such as files, control tables, and information must be used exclusively between tasks. These will be referred to as serial reusable resources (SRR) below. In other words, if one task occupies an SRR and the processing is transferred to another task, the other task that wants to use the SRR will be declared free when the task that occupies it resumes processing. It cannot be used until it is completed.

第2図は従来のSRR占有解放制御の概念図で、
4,6はタスク、5はSRR、7はSRR解放待行
列ターミナルを示す。第2図aに示すように、タ
スク4がSRR5を占有した状態で、実行待行列
ターミナル群3の該当する優先度のターミナルに
つながれているとする。こゝで、タスク4よりも
実行優先度が高いタスク6が実行中に、SRR5
の使用要求を出すと、SRR5はすでに占有中の
ため、タスク6はSRR解放待ちとなり、SRR解
放待ちターミナル7につながれ、別のタスクの実
行に移る。やがて第2図bに示すように、タスク
4が実行されてSRR5が解放宣言されると、待
ちターミナル7で待つているタスク6にSRR5
を占有せしめ、タスク6は実行待行列ターミナル
群3につながれる。このとき、ターミナルは該タ
スクの実行優先度により決まる。
Figure 2 is a conceptual diagram of conventional SRR exclusive release control.
4 and 6 indicate tasks, 5 indicates SRR, and 7 indicates SRR release queue terminal. As shown in FIG. 2a, it is assumed that task 4 occupies SRR 5 and is connected to the terminal of the corresponding priority in execution queue terminal group 3. Here, while task 6, which has a higher execution priority than task 4, is being executed, SRR5
When the SRR 5 is already occupied, the task 6 waits for SRR release, is connected to the SRR release waiting terminal 7, and starts executing another task. Eventually, as shown in Figure 2b, when task 4 is executed and SRR5 is declared released, SRR5 is transferred to task 6 waiting at waiting terminal 7.
, and the task 6 is connected to the execution queue terminal group 3. At this time, the terminal is determined by the execution priority of the task.

このように、従来はSRRの占有とタスクの実
行優先度との関係を結びつけて制御する概念がな
かつたため、次のような欠点があつた。
In this way, conventionally there was no concept of linking and controlling the relationship between SRR occupancy and task execution priority, resulting in the following drawbacks.

(1) 実行待ち状態に遷移する場合に、タスクの優
先度は固定的であるので、そのタスクの優先度
より高い優先度を持つタスクは、SRR競合の
ため待ち状態になる事が多い。このためタスク
の状態遷移回数が多くなり、そのオーバー・ヘ
ツドのためシステムのスループツトが低下す
る。
(1) When transitioning to the waiting state, the priority of a task is fixed, so tasks with a higher priority than that task often end up in the waiting state due to SRR contention. Therefore, the number of state transitions of the task increases, and the system throughput decreases due to the overhead.

(2) SRR競合の場合は、高い優先度を持つタス
クといえども、低い優先度のタスクのSRR解
放を待たなければならないため、実行が遅れ、
高い優先度を設定した効果が得られない。
(2) In the case of SRR contention, even a task with a high priority has to wait for the SRR release of a task with a lower priority, so execution is delayed.
The effect of setting a high priority cannot be obtained.

(3) 同一優先度の場合においても前記(1)と同様タ
スク切替えが必要以上に増加し、オーバー・ヘ
ツドが大きくなる。
(3) Even in the case of the same priority, as in (1) above, task switching increases more than necessary, resulting in a large overhead.

本発明は、これらの欠点を解決するため、シリ
アル・リユーザブル・リソースに優先度を付与
し、実行待ちになるタスクの優先度を占有してい
るシリアル・リユーザブル・リソースの優先度に
変更するようにしたもので、以下図面について詳
細に説明する。
In order to solve these drawbacks, the present invention assigns priorities to serial reusable resources, and changes the priority of tasks waiting to be executed to the priority of the occupied serial reusable resources. The drawings will be described in detail below.

第3図は本発明の一実施例で、SRRの優先度
をプログラム中に固定的に保持する場合の制御の
概念図を示す。第3図において、SRR解放待ち
行列7には、SRR占有要求を出したタスクが
SRR解放を待つて先着順に行列を作つている。
実行待ち行列ターミナル群3は、CPUが空いた
場合に、次に実行すべきタスクを見い出すための
待行列用のターミナルで、複数個のターミナルよ
りなり、優先度の高いターミナルから順にサーチ
される。8はSRR占有タスク用の実行待ち行列
ターミナルで、SRRを占有した状態で実行待ち
状態になるタスクをつなぐべきターミナルを示
す。このSRR占有タスク用の実行待ち行列ター
ミナル8をSRRを使用するタスク群より高い優
先度に設定しておく事により、SRRを占有して
いるタスクを優先的に実行する事ができる。
FIG. 3 is an embodiment of the present invention, and shows a conceptual diagram of control when the priority of SRR is fixedly held in a program. In Figure 3, the task that issued the SRR occupancy request is in the SRR release queue 7.
People are lining up on a first-come, first-served basis waiting for SRR to be released.
The execution queue terminal group 3 is a queue terminal for finding the next task to be executed when the CPU is free, and is made up of a plurality of terminals, which are searched in order of priority. 8 is an execution queue terminal for SRR-occupying tasks, which is a terminal to which a task that is waiting to be executed while occupying SRR should be connected. By setting the execution queue terminal 8 for SRR-occupying tasks to a higher priority than the task group using SRR, the tasks occupying SRR can be executed preferentially.

第4図aのプログラムは、占有していたSRR
を解放する手続きの一部で、あるタスクが実行さ
れてSRR5が解放宣言されると、該当するSRR
解放待ち行列7を調べ、解放待ちタスクが存在す
る場合は、先頭のタスクを待ち行列7からはず
し、該タスクにSRRを占有させてSRR占有タス
ク用実行待ちターミナル8につなぐ。10はタス
ク制御表1のSRR占有中表示で、SRR占有化プ
ログラムおよびSRR解放プログラムで設定制御
する。
The program in Figure 4a is the occupied SRR
As part of the procedure to release SRR5, when a certain task is executed and SRR5 is declared released, the corresponding SRR
The release queue 7 is checked, and if there is a task waiting for release, the first task is removed from the queue 7, the task is made to occupy the SRR, and is connected to the execution waiting terminal 8 for SRR-occupying tasks. 10 is an SRR occupied indication in the task control table 1, which is set and controlled by the SRR occupation program and the SRR release program.

SRR占有中のタスクに一度CPUを割当てたら、
SRR解放まで連続的に処理させる方式を採る場
合には、タイムスライス切れ等の契機でタスクを
切替えるプログラムにおいてSRR占有表示10
を調べ、占有中であれば、タスク切替えを延期す
るように制御できる。
Once a CPU is assigned to a task occupying SRR,
When adopting a method of continuous processing until SRR is released, SRR occupancy display 10 is required in a program that switches tasks when a time slice expires, etc.
is checked, and if it is occupied, it can be controlled to postpone task switching.

タイムスライス切れ等による強制タスク切替え
や事象待ちをSRR占有中に許す場合は、第4図
bに示すタスクを実行待ち行列ターミナル群3に
つなぐキユーイングプログラムで該当タスク制御
表1のSRR占有中表示10を調べ、占有表示が
なされている場合には、プログラム9と同様に
SRR占有タスク用に実行待ち行列8につなぐ。
If forced task switching due to time slice expiration or waiting for an event is allowed while the SRR is occupied, use the queuing program that connects the task shown in Figure 4b to the execution queue terminal group 3 to display the SRR occupied status in the corresponding task control table 1. Check program 10, and if occupancy is displayed, do the same as program 9.
Connect to execution queue 8 for SRR exclusive tasks.

第5図はSRRの優先度をSRR毎に保持してお
く場合の実施例である。第5図において、9が
SRR毎に定義されるSRR制御表5に保持してお
くSRR優先度を示す。一方、タスク制御表1に
は、タスク優先度2とは別にSRR優先度を保持
するフイールド11を設ける。第6図bに示すよ
うに、タスクを実行待ちターミナル群3のターミ
ナルにつなぐプログラム(タスクキユーイングプ
ログラム)では、タスク制御表1の優先度フイー
ルド11を調べて、該当する優先度のターミナル
の行列につなぐ。
FIG. 5 shows an embodiment in which the SRR priority is held for each SRR. In Figure 5, 9 is
The SRR priority level maintained in the SRR control table 5 defined for each SRR is shown. On the other hand, the task control table 1 is provided with a field 11 that holds the SRR priority separately from the task priority 2. As shown in Figure 6b, a program (task queuing program) that connects a task to a terminal in terminal group 3 waiting for execution checks the priority field 11 of the task control table 1 and queues the terminals with the corresponding priority. Connect to.

上記優先度フイールド11には、SRRを占有
していない状態では、タスク優先度2の値が設定
され、SRRを占有した状態では、占有中のSRR
の最大の優先度が設定されるように制御される。
これは、第6図aに示すSRR占有プログラムで、
占有しようとするSRRの制御表5に保持されて
いる優先度9とタスク制御表1中の優先度フイー
ルド11の値を比較し、優先度の高い方を優先度
フイールド11に設定することにより実現でき
る。また、SRR解放処理プログラムでは、該タ
スクが占有している残りのSRRの優先度9を調
べ、優先度が最も高いものを優先度フイールド1
1に設定する。この時、他に占有中のSRRがな
い場合は、タスク制御表1に保持されているタス
ク優先度2を優先度フイールド11に設定する。
The priority field 11 is set to the value of task priority 2 when the SRR is not occupied, and when the SRR is occupied, the value of task priority 2 is set to the priority field 11.
is controlled so that the maximum priority is set.
This is the SRR exclusive program shown in Figure 6a,
This is achieved by comparing the priority 9 held in the control table 5 of the SRR to be occupied with the value of the priority field 11 in the task control table 1, and setting the higher priority in the priority field 11. can. In addition, the SRR release processing program checks the priorities 9 of the remaining SRRs occupied by the task, and selects the one with the highest priority as priority field 1.
Set to 1. At this time, if there is no other occupied SRR, task priority 2 held in task control table 1 is set in priority field 11.

該当タスクが占有しているSRRの最高優先度
を得る方法としては、第7図のように、タスク制
御表1に占有しているSRRの制御表5を第6図
aの占有プログラムでチエインしておき、解放プ
ログラムでチエインされているSRRの優先度を
調べる方法と、第8図に示すように、SRR制御
表5に占有プログラムで占有タスクを登録してお
き、解放プログラムで全てのSRR制御表を調査
する方法とがある。このうち第7図の方法では、
占有化プログラムでタスク制御表1に占有中の
SRRの制御表をチエインする処理において、優
先度の順になるようにチエインすることによつ
て、常にタスク制御表1からポイントされる
SRR制御表が最高優先度を保持しているように
制御できるので、解放処理プログラムの優先度の
調査を不要にする事も可能である。
As shown in Figure 7, the method to obtain the highest priority of the SRRs occupied by the relevant task is to chain the control table 5 of the SRRs occupied by the task control table 1 with the occupation program of Figure 6a. Then, as shown in Figure 8, how to check the priorities of chained SRRs in the release program, register the occupied tasks in the SRR control table 5 with the occupied program, and then use the release program to control all the SRRs. There is a method to examine the table. Of these, the method shown in Figure 7
The occupying program displays the occupied information in task control table 1.
In the process of chaining SRR control tables, by chaining them in order of priority, the task control table 1 is always pointed to.
Since the SRR control table can be controlled to maintain the highest priority, it is also possible to eliminate the need to check the priority of the release processing program.

次に第5図の実施例において、SRRの優先度
の設定方法として、SRRを定義する主体が優先
度も合せて定義する方法と、SRR占有手続きが、
占有要求タスクの優先度をもとに設定して行く方
法とがある。このうち後者の方法では、優先度の
初期値は低く設定しておき、SRR占有要求があ
つた時に、依頼タスクの優先度とSRRの優先度
を比較し、SRRの方が高ければそのままとし、
タスクの優先度の方が高ければ、該タスクの優先
度より高い値(例えば1だけ大きい値)をSRR
の優先度として再設定する。
Next, in the example shown in FIG. 5, the SRR priority setting methods include two methods: the entity defining the SRR also defines the priority, and an SRR occupancy procedure.
There is a method of setting based on the priority of the occupation requesting task. In the latter method, the initial value of the priority is set low, and when a request for SRR occupancy is made, the priority of the requested task is compared with the priority of SRR, and if SRR is higher, it is left as is.
If the priority of the task is higher, set the SRR to a value higher than the priority of the task (for example, a value larger by 1).
Reset as the priority.

以上のような優先度制御の結果、SRRを占有
しているタスクは、他のタスクよりも優先的に処
理する事ができるうえに、SRRの優先度を緊急
度に応じて定義する事により、ターン・アラウン
ド・タイムの保証などが必要であるものとそうで
ないものとが混在した場合の実行順序制御も可能
となる。
As a result of the above priority control, the task occupying the SRR can be processed with priority over other tasks, and by defining the priority of the SRR according to the degree of urgency, It is also possible to control the execution order when there is a mixture of tasks that require a turnaround time guarantee and those that do not.

第9図は第5図の実施例を簡略化したものであ
る。本実施例ではSRRを数種類のクラスに分類
しておき、各クラスにあらかじめ優先度を設定し
ておく。実行待ち行列ターミナル群3には、各ク
ラスの優先度に対応して、SRR占有タスク用実
行待ち行列ターミナル8をクラスの数だけ用意す
る。一方、タスク制御表1には、クラス毎に、占
有中のSRRの数を表す項目(占有多重度)12
を設ける。また、個々のSRRがどのクラスに属
するのか知るために、SRR制御表5にクラスの
種別を表すコードを設定しておく。SRR占有プ
ログラムは、占有要求元タスクの制御表の該当す
るクラスに対応する占有多重度12に1を加算す
る。また、SRR占有解除プログラムは占有多重
度12から1を減算する。
FIG. 9 is a simplified version of the embodiment shown in FIG. In this embodiment, SRR is classified into several types of classes, and a priority is set in advance for each class. In the execution queue terminal group 3, execution queue terminals 8 for SRR exclusive tasks are prepared in accordance with the priority of each class. On the other hand, task control table 1 has an item (occupancy multiplicity) 12 representing the number of occupied SRRs for each class.
will be established. Further, in order to know which class each SRR belongs to, a code representing the class type is set in the SRR control table 5. The SRR exclusive program adds 1 to the exclusive multiplicity 12 corresponding to the relevant class in the control table of the exclusive requesting task. Further, the SRR occupation cancellation program subtracts 1 from the occupation multiplicity 12.

第10図は第9図に対応するタスクキユーイン
グプログラムで、該当するタスク占有多重度を調
べ、それらがすべて零ならタスク本来の優先度の
ターミナルにタスクをつなぎ、さもなければ、占
有多重度が零でないクラスのうち、最大の優先度
のターミナルにタスクをつなぐ。本実施例では、
SRR占有および解放の際にタスクの優先度変更
手続きが単純で、オーバー・ヘツドが少ない利点
がある。
Fig. 10 is a task queuing program corresponding to Fig. 9, which checks the corresponding task occupancy multiplicity, and if all of them are zero, connects the task to the terminal with the task's original priority; otherwise, the occupancy multiplicity is Connect the task to the terminal with the highest priority among non-zero classes. In this example,
The advantage is that the task priority change procedure when occupying and releasing SRR is simple and requires little overhead.

以上に説明したように、本発明によれば、
SRRを占有した状態で実行待ち行列につながれ
る場合に、SRRに与えられた優先度に従つた実
行優先度が与えられるために、SRRを共用する
タスクの中の最大の優先度より大きな優先度をそ
のSRRの優先度として与える事によつて、次の
ような利点がある。
As explained above, according to the present invention,
When connected to the execution queue while occupying an SRR, the execution priority is given according to the priority given to the SRR, so the priority is higher than the highest priority among tasks that share the SRR. By giving priority to the SRR, there are the following advantages.

(1) SRRを占有しているタスクを優先的に処理
可能であり、SRRの占有時間を短くできる。
このため、他のタスクがSRR競合に遭遇する
機会が減少し、タスク切替えに伴うオーバー・
ヘツドを削減できる。
(1) Tasks occupying SRR can be processed preferentially, and the time occupied by SRR can be shortened.
This reduces the chance that other tasks will encounter SRR contention, and reduces the chance of overload caused by task switching.
Heads can be reduced.

(2) 低い優先度のタスクがSRRを占有したまま
実行待ち行列につながつた場合に、同じSRR
を用いる高い優先度のタスクが、SRR解放待
ちのために、他の低い優先度のタスク群よりも
実行が遅れるという優先度の逆転現象を回避で
き、スループツトの向上を図る事ができる。
(2) If a task with a lower priority is connected to the execution queue while occupying an SRR, the same SRR
It is possible to avoid the priority inversion phenomenon in which high-priority tasks that use SRR are delayed in execution compared to other low-priority tasks due to waiting for SRR release, and throughput can be improved.

(3) あるタスクが実行可能状態になつた時、その
優先度と、その時実行中のタスクの優先度とを
比較し、前者の方が高い場合は強制的にタスク
を切替える制御(いわゆるプリエンプシヨン制
御)を行う場合には、SRRを占有した状態で
タスク切替えが行なわれる頻度が高いので、(1)
(2)の改善効果はより一層大きい。
(3) When a task becomes executable, its priority is compared with the priority of the task currently being executed, and if the former is higher, the task is forcibly switched (so-called preemption control). ), task switching is often performed while occupying SRR, so (1)
The improvement effect of (2) is even greater.

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

第1図は従来のタスク実行制御の概念図、第2
図は従来のSRR占有解放制御の概念図、第3図
は本発明の一実施例の概念図、第4図は第3図の
実施例に用いられるプログラムのフロー図、第5
図は本発明の他の実施例の概念図、第6図は第5
図の実施例に用いられるプログラムのフロー図、
第7図及び第8図はタスクが占有しているSRR
の最高優先度を得る方法の一例を示す図、第9図
は本発明の更に他の実施例の概念図、第10図は
第9図の実施例に用いられるプログラムのフロー
図である。 1……タスク制御表、2……タスク優先度、3
……実行待行列ターミナル群、4,6……タス
ク、5……シリアル・リユーザブル・リソース
(SRR)、7……SRR解放待行列ターミナル、8
……SRR占有時用実行待行列ターミナル、9…
…SRR優先度、10……SRR占有表示、11…
…優先度フイールド、12……占有多重度。
Figure 1 is a conceptual diagram of conventional task execution control;
The figure is a conceptual diagram of conventional SRR occupation release control, Figure 3 is a conceptual diagram of an embodiment of the present invention, Figure 4 is a flow diagram of a program used in the embodiment of Figure 3, and Figure 5 is a conceptual diagram of a conventional SRR occupation release control.
The figure is a conceptual diagram of another embodiment of the present invention, and FIG.
A flow diagram of the program used in the embodiment of the figure,
Figures 7 and 8 show the SRR occupied by tasks.
FIG. 9 is a conceptual diagram of yet another embodiment of the present invention, and FIG. 10 is a flow diagram of a program used in the embodiment of FIG. 1...Task control table, 2...Task priority, 3
...Execution queue terminal group, 4, 6...Task, 5...Serial reusable resource (SRR), 7...SRR release queue terminal, 8
...Execution queue terminal for SRR occupancy, 9...
...SRR priority, 10...SRR occupancy display, 11...
...Priority field, 12... Occupancy multiplicity.

Claims (1)

【特許請求の範囲】[Claims] 1 複数のプログラムを並列的に動作させるため
の処理単位にCPU割付優先度を設けておき、こ
の優先度に従つて割付け待ちとなつている処理単
位の実行順序を制御するとともに、処理単位が他
の処理単位と共通に、しかも直列的に使用する資
源を定義する手段を備えた情報処理装置におい
て、定義された資源あるいは資源群を単位として
優先度を付与し、割付け待ちとなる処理単位が資
源を占有している場合には該資源の優先度を当該
処理単位の実行順序制御に用い、資源を占有して
いなければ、当該処理単位のCPU割付優先度を
実行順序制御に用いることを特徴とする情報処理
装置の制御方法。
1 A CPU allocation priority is set for a processing unit for running multiple programs in parallel, and according to this priority, the execution order of processing units waiting for allocation is controlled, and processing units other than In an information processing device that is equipped with a means for defining resources to be used in common and serially with the processing units of If the resource is occupied, the priority of the resource is used to control the execution order of the processing unit, and if the resource is not occupied, the CPU allocation priority of the processing unit is used to control the execution order. A method for controlling an information processing device.
JP20639081A 1981-12-21 1981-12-21 Controlling method for information processor Granted JPS58107961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20639081A JPS58107961A (en) 1981-12-21 1981-12-21 Controlling method for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20639081A JPS58107961A (en) 1981-12-21 1981-12-21 Controlling method for information processor

Publications (2)

Publication Number Publication Date
JPS58107961A JPS58107961A (en) 1983-06-27
JPS6316775B2 true JPS6316775B2 (en) 1988-04-11

Family

ID=16522547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20639081A Granted JPS58107961A (en) 1981-12-21 1981-12-21 Controlling method for information processor

Country Status (1)

Country Link
JP (1) JPS58107961A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6125249A (en) * 1984-07-14 1986-02-04 Fujitsu Ltd Exclusive control system

Also Published As

Publication number Publication date
JPS58107961A (en) 1983-06-27

Similar Documents

Publication Publication Date Title
US4908750A (en) Data processing system having tunable operating system means
Goel et al. A comparative study of cpu scheduling algorithms
JPH0628323A (en) Process execution control method
JPS6316775B2 (en)
JPH1049388A (en) Input and output controller
WO2000070482A1 (en) Interrupt and exception handling for multi-streaming digital processors
JPH0644234B2 (en) Task management device
JP2667575B2 (en) Task scheduling method
JPH07230387A (en) Exclusive control method
JPH10177489A (en) How to schedule a task
Seemakuthi et al. A Review on Various Scheduling Algorithms
JPS63113738A (en) Task schedule system
JPS63300326A (en) Transaction execution schedule system
JP3169316B2 (en) Task scheduling method
JPH07129480A (en) File transfer device
JPS60181934A (en) Task priority degree controlling system
JP2000047881A (en) Real-time system
JPS59170950A (en) Task priority control system
JPH04287234A (en) Process multiplicity control system
JPH0778090A (en) Job priority scheduling method
JPS61136134A (en) Queue resource control system
JPH0640315B2 (en) Central processing unit allocation control method
JPH0612394A (en) Process schedule method
JPH09282185A (en) Real-time system and resource managing method for the same
JPH05204671A (en) Load smoothing control method and device