JPH04229331A - How to handle exceptions in an embedded multitasking operating system - Google Patents

How to handle exceptions in an embedded multitasking operating system

Info

Publication number
JPH04229331A
JPH04229331A JP3110805A JP11080591A JPH04229331A JP H04229331 A JPH04229331 A JP H04229331A JP 3110805 A JP3110805 A JP 3110805A JP 11080591 A JP11080591 A JP 11080591A JP H04229331 A JPH04229331 A JP H04229331A
Authority
JP
Japan
Prior art keywords
task
user task
issued
system call
cpu
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
JP3110805A
Other languages
Japanese (ja)
Inventor
Keizo Baba
馬場 圭三
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3110805A priority Critical patent/JPH04229331A/en
Publication of JPH04229331A publication Critical patent/JPH04229331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To perform debugging operation efficiently and to suppress the influence of a system runaway. CONSTITUTION:A CPU(central processing unit) 1 controls the operation of a device, a ROM 2 is stored with a process program that the CPU 1 executes and various data required for the execution of the process program, and a RAM 3 has a work area for the process program that the CPU 1 executes. An I/O port 4 connects peripheral devices 5 and 6 to the CPU 1. In this device model, if the same user task makes a system call for an undefined function successively by a specific number of times at the time of device function inspection, the user task is forcibly placed in a wait state.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、複数のユーザタスクを
並列して処理可能な組込型マルチタスクオペレーティン
グシステムの例外処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an exception handling method for an embedded multitasking operating system capable of processing a plurality of user tasks in parallel.

【0002】0002

【従来の技術】例えば、ファクシミリ装置など、マイク
ロコンピュータシステムを利用して動作制御を行なって
いる装置で、複数のタスク(処理単位)を並列的に実行
する必要がある場合、その制御システムとして、マルチ
タスクオペレーティングシステムを使用している。
2. Description of the Related Art For example, when it is necessary to execute multiple tasks (processing units) in parallel in a device such as a facsimile device that uses a microcomputer system to control its operation, the control system is You are using a multitasking operating system.

【0003】このようなマルチタスクオペレーティング
システムでは、装置の制御ソフトウェアが完成するまで
、何度か制御ソフトウェアの機能検査、いわゆる、デバ
ッグ作業を行なう必要があり、その便宜のための種々の
機能を備えている。
[0003] In such a multitasking operating system, it is necessary to perform a function check of the control software several times, or so-called debugging, until the control software for the device is completed. ing.

【0004】例えば、ユーザタスクプログラム(以下、
単にプログラムという)の実行状況を1ステップずつ検
査できるトレース機能、プログラムを任意の時点で停止
できるブレーク機能、および、プログラムの不都合(以
下、バグという)によりシステムが暴走したときにシス
テムを停止するウォッチドッグタイマ機能などである。
[0004] For example, a user task program (hereinafter referred to as
A trace function that allows you to inspect the execution status of a program (hereinafter simply referred to as a program) step by step, a break function that allows you to stop a program at any point, and a watch function that stops the system when the system goes out of control due to an inconvenience in the program (hereinafter referred to as a bug). This includes a dog timer function, etc.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、このよ
うな従来装置では、デバッグ中にシステムが暴走したと
き、暴走を引き起こしたタスクのみならず、他のタスク
の実行状態を変化させることが有り、このような場合、
どのタスクがバグをもっているかオペレータが判断でき
ないという不都合を生じていた。
[Problem to be Solved by the Invention] However, in such conventional devices, when the system goes out of control during debugging, the execution state of not only the task that caused the runaway but also other tasks may change, and this In such a case,
This caused an inconvenience in that the operator could not determine which task had the bug.

【0006】また、完成した制御ソフトウェアを組込ん
だ装置を稼働中、その装置の動作環境によっては、シス
テム内部のバスにノイズが混入してバス上のデータが破
壊され、システムが暴走して制御不可能な状態になった
り、装置に組込まれている機器などを破壊するという不
都合を生じていた。
[0006] Furthermore, while a device incorporating the completed control software is in operation, depending on the operating environment of the device, noise may enter the system's internal bus, destroying data on the bus, causing the system to run out of control. This has caused inconveniences such as making it impossible or destroying equipment built into the device.

【0007】本発明は、このような実情に鑑みてなされ
たものであり、デバッグ作業を効率よく行なえるととも
に、システム暴走時の影響を抑制できる組込型マルチタ
スクオペレーティングシステムの例外処理方法を提供す
ることを目的としている。
The present invention has been made in view of the above circumstances, and provides an exception handling method for an embedded multitasking operating system that allows efficient debugging work and suppresses the effects of system runaway. It is intended to.

【0008】[0008]

【課題を解決するための手段】本発明は、装置機能検査
時、未定義機能のシステムコールが、同一ユーザタスク
から所定回数連続して発行されると、そのユーザタスク
を強制待ち状態に遷移させるようにしたものである。
[Means for Solving the Problems] The present invention transitions the user task to a suspended state when a system call for an undefined function is issued a predetermined number of times in succession from the same user task during a device function test. This is how it was done.

【0009】また、装置稼働時、未定義機能のシステム
コールが、同一ユーザタスクから所定回数連続して発行
されると、そのユーザタスクを強制的に終了させるよう
にしたものである。
Furthermore, when the system call for an undefined function is issued a predetermined number of times in succession from the same user task during operation of the device, the user task is forcibly terminated.

【0010】0010

【作用】したがって、装置機能検査時、システム暴走し
たときの原因となったユーザタスクが強制待ち状態に遷
移させるので、そのシステム暴走の影響が他のユーザタ
スクに影響を及ぼすことが防止され、装置機能検査を効
率よく行なうことができる。また、装置稼働時、システ
ム暴走したときの原因となったユーザタスクが強制終了
されるので、そのシステム暴走の影響が他のユーザタス
クに影響を及ぼすことが防止される。
[Effect] Therefore, during device function inspection, the user task that caused the system runaway is placed in a forced wait state, which prevents the system runaway from affecting other user tasks. Functional tests can be performed efficiently. Further, when the apparatus is in operation, the user task that caused the system to run out of control is forcibly terminated, so that the influence of the system to run out of control is prevented from affecting other user tasks.

【0011】[0011]

【実施例】以下、添付図面を参照しながら、本発明の実
施例を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

【0012】図1は、本発明の一実施例にかかる装置モ
デルを示している。
FIG. 1 shows a device model according to an embodiment of the present invention.

【0013】同図において、CPU(中央処理装置)1
は、この装置の動作制御を行なうものであり、ROM(
リード・オンリ・メモリ)2は、CPU1が実行する処
理プログラムおよびその処理プログラムを実行するため
に必要な種々のデータを記憶するものであり、RAM(
ランダム・アクセス・メモリ)3は、CPU1が実行す
る処理プログラムのワークエリアなどをなすものである
In the figure, a CPU (central processing unit) 1
controls the operation of this device, and the ROM (
The read-only memory) 2 stores the processing program executed by the CPU 1 and various data necessary to execute the processing program.
A random access memory (Random Access Memory) 3 serves as a work area for processing programs executed by the CPU 1.

【0014】I/Oポート4は、周辺装置5,6とCP
U1を接続するためのものであり、周辺装置5,6は、
それぞれこの装置の機能を実現するためのものである。 例えば、ファクシミリ装置の場合、画像を読み取るため
のスキャナおよび画像を記録出力するためのプロッタな
どがこの周辺装置5,6に相当する。
[0014] The I/O port 4 is connected to peripheral devices 5, 6 and the CP.
It is for connecting U1, and the peripheral devices 5 and 6 are
Each is used to realize the functions of this device. For example, in the case of a facsimile machine, the peripheral devices 5 and 6 include a scanner for reading images and a plotter for recording and outputting images.

【0015】この装置モデルでは、図2に示すように、
システムが階層化されている。
In this device model, as shown in FIG.
The system is layered.

【0016】同図において、システム資源は、CPU1
、RAM3のワークエリア、および、周辺装置5,6な
どをあらわし、ユーザタスクは、この装置の処理機能を
実現するソフトウェアの処理単位をあらわし、マルチタ
スクオペレーティングシステム(以下、OSと言う)は
、ユーザタスクの実行を効率よく処理するためのシステ
ムソフトウェアをあらわす。
In the figure, the system resources are CPU1
, the work area of RAM 3, peripheral devices 5 and 6, etc., a user task represents a processing unit of software that realizes the processing functions of this device, and a multitasking operating system (hereinafter referred to as OS) represents a user task. Represents system software for efficiently processing task execution.

【0017】このOSは、複数のユーザタスクを並列的
に実行する機能を備えており、本実施例では、ユーザタ
スクからの処理の実行要求は、システムコールという所
定の形式のデータを発行するという形態で行なわれる。 また、このシステムコールの発行は、所定のレジスタに
実行要求する処理機能をあらわす機能コードをセットし
た状態で、ソフトウェア割り込みを発行することで行な
われる。
[0017] This OS has a function of executing multiple user tasks in parallel, and in this embodiment, a processing execution request from a user task is issued by issuing data in a predetermined format called a system call. It is done in form. Further, this system call is issued by issuing a software interrupt while setting a function code representing the processing function to be executed in a predetermined register.

【0018】また、この装置モデルでは、図3(a)に
示すように、OSのプログラムが配置されるOS領域、
ユーザタスクのプログラムが配置されるユーザタスク領
域、ワーク領域、および、データテーブル領域に、CP
U1のメモリ空間が分割されている。
In addition, in this device model, as shown in FIG. 3(a), an OS area where OS programs are placed;
The CP is placed in the user task area, work area, and data table area where user task programs are placed.
U1's memory space is divided.

【0019】ここで、ユーザタスク領域には、同図(b
)に示すように、複数のタスクが記憶されている。
Here, in the user task area, there is a
), multiple tasks are stored.

【0020】以上の構成で、この装置モデルのソフトウ
ェアをデバッグするときに、ユーザタスクからシステム
コールが発行されたときにOSが実行する処理例を図4
に示す。
FIG. 4 shows an example of the processing that the OS executes when a system call is issued from a user task when debugging the software of this device model with the above configuration.
Shown below.

【0021】まず、ソフトウェア割り込みが入力される
と、OSは、その時点で実行中のタスクを待機状態(W
AIT状態)に遷移させるとともにそのときのCPU1
のレジスタの内容を所定の領域に退避し(処理101)
、発行されたシステムコールの機能が未定義のものであ
るかどうかを調べる(判断102)。
First, when a software interrupt is input, the OS puts the task currently being executed into a waiting state (W
AIT state) and CPU1 at that time.
Save the contents of the register to a predetermined area (process 101)
, determine whether the function of the issued system call is undefined (decision 102).

【0022】判断102の結果がNOになるときには、
正常なシステムコールであるので、そのときに指定され
た機能コードに対応した処理を実行し(処理103)、
その処理を終了すると、実行可能な状態(READY状
態)に登録されている複数のタスクの中から、所定の実
行スケジュールにしたがって次に実行するタスクを選択
し(処理104)、その選択したタスクを実行するため
にレジスタの内容を選択タスクに対応した内容に更新し
て(処理105)、そのタスクを実行する状態に遷移す
る。
[0022] When the result of judgment 102 is NO,
Since this is a normal system call, the process corresponding to the function code specified at that time is executed (process 103),
When the process is finished, a task to be executed next according to a predetermined execution schedule is selected from among multiple tasks registered in an executable state (READY state) (process 104), and the selected task is In order to execute the task, the contents of the register are updated to the contents corresponding to the selected task (process 105), and a transition is made to a state in which the task is executed.

【0023】また、判断102の結果がYESになると
きには、不正なシステムコールを発行したタスクを記憶
するための変数I_TCBが、システムコールを発行し
たタスクの識別情報C_TCBに等しいかどうかを調べ
て(判断106)、判断106の結果がNOになるとき
には、変数I_TCBに識別情報C_TCBの内容をセ
ットし(処理107)、同一タスクが不正なシステムコ
ールを連続して発行した数を記憶するためのカウンタI
_CNTに所定値Nをセットして(処理108)、処理
104に移行して、実行中断したタスクの実行を再開す
る。
Further, when the result of judgment 102 is YES, check whether the variable I_TCB for storing the task that issued the illegal system call is equal to the identification information C_TCB of the task that issued the system call ( Judgment 106), when the result of judgment 106 is NO, the content of identification information C_TCB is set in variable I_TCB (process 107), and a counter is set to store the number of consecutive invalid system calls issued by the same task. I
A predetermined value N is set in _CNT (process 108), and the process moves to process 104 to resume execution of the task whose execution was interrupted.

【0024】また、判断106の結果がYESになると
きには、カウンタI_CNTをデクリメントし(処理1
09)、カウンタI_CNTの値が0に等しいかどうか
を調べる(判断110)。
Further, when the result of judgment 106 is YES, the counter I_CNT is decremented (processing 1
09), and checks whether the value of counter I_CNT is equal to 0 (decision 110).

【0025】判断110の結果がNOになるときには、
そのときに発行されたシステムコールの機能を実行せず
に、処理104に移行し、実行中断したタスクの実行を
再開する。
[0025] When the result of decision 110 is NO,
Without executing the function of the system call issued at that time, the process moves to process 104 and resumes execution of the interrupted task.

【0026】また、判断110の結果がYESになると
きには、同一タスクが不正なシステムコールをN回連続
して発行した場合であり、そのタスクが異常な状態なの
で、所定の例外処理ルーチン(図示略)を実行し(処理
111)、実行中のタスクを強制待ち状態(SUSPE
ND状態)に遷移させて(処理112)、変数I_TC
Bに所定値NULLをセットするとともに(処理113
)、カウンタI_CNTに所定値Nをセットし(処理1
14)、処理104に移行して、実行中断したタスクの
実行を再開する。
Further, when the result of judgment 110 becomes YES, it means that the same task has issued an invalid system call N times in a row, and the task is in an abnormal state, so a predetermined exception handling routine (not shown) is executed. ) (process 111), and puts the currently executing task into a forced wait state (SUSPE).
ND state) (processing 112), and the variable I_TC
B is set to a predetermined value NULL (processing 113
), and sets a predetermined value N to the counter I_CNT (processing 1
14) The process moves to process 104 and resumes execution of the task whose execution was interrupted.

【0027】このようにして、本実施例では、デバッグ
作業時に同一タスクが不正なシステムコールを連続して
N回発行したとき、そのシステムコールを発行したユー
ザタスクが異常であると判定し、そのユーザタスクを異
常状態のままSUSPEND状態に遷移させているので
、このユーザタスクの異常が原因となって他のタスクの
実行状態まで異常になるような事態を防止できる。
In this way, in this embodiment, when the same task issues an invalid system call N times in a row during debugging, it is determined that the user task that issued the system call is abnormal, and the user task that issued the system call is determined to be abnormal. Since the user task is transitioned to the SUSPEND state while in the abnormal state, it is possible to prevent a situation in which the execution state of other tasks becomes abnormal due to an abnormality in this user task.

【0028】また、適当なタイミングでブレークさせる
と、その異常状態のままSUSPEND状態に遷移させ
たタスクを適切にトレースすることができ、したがって
、効率的なデバッグ作業を行なうことができる。
Furthermore, if a break is made at an appropriate timing, it is possible to appropriately trace the task that has been transitioned to the SUSPEND state while in its abnormal state, and therefore efficient debugging work can be performed.

【0029】また、この装置モデルのソフトウェアのデ
バッグが完了して、この装置モデルを実際に稼働すると
きに、ユーザタスクからシステムコールが発行されたと
きにOSが実行する処理例を図5に示す。
FIG. 5 shows an example of the processing that the OS executes when a system call is issued from a user task when debugging the software of this device model is completed and this device model is actually operated. .

【0030】まず、ソフトウェア割り込みが入力される
と、OSは、その時点で実行中のタスクをWAIT状態
に遷移させるとともにそのときのCPU1のレジスタの
内容を所定の領域に退避し(処理201)、発行された
システムコールの機能が未定義のものであるかどうかを
調べる(判断202)。
First, when a software interrupt is input, the OS transitions the task currently being executed to the WAIT state, and saves the contents of the register of the CPU 1 at that time to a predetermined area (process 201). It is checked whether the function of the issued system call is undefined (decision 202).

【0031】判断202の結果がNOになるときには、
正常なシステムコールであるので、そのときに指定され
た機能コードに対応した処理を実行し(処理203)、
その処理を終了すると、実行可能な状態(READY状
態)に登録されている複数のタスクの中から、所定の実
行スケジュールにしたがって次に実行するタスクを選択
し(処理204)、その選択したタスクを実行するため
にレジスタの内容を選択タスクに対応した内容に更新し
て(処理205)、そのタスクを実行する状態に遷移す
る。
[0031] When the result of judgment 202 is NO,
Since this is a normal system call, the process corresponding to the function code specified at that time is executed (process 203),
When the process is finished, a task to be executed next according to a predetermined execution schedule is selected from among multiple tasks registered in an executable state (READY state) (process 204), and the selected task is In order to execute the task, the contents of the register are updated to the contents corresponding to the selected task (process 205), and a transition is made to a state in which the task is executed.

【0032】また、判断202の結果がYESになると
きには、変数I_TCBが、システムコールを発行した
タスクの識別情報C_TCBに等しいかどうかを調べて
(判断206)、判断206の結果がNOになるときに
は、変数I_TCBに識別情報C_TCBの内容をセッ
トし(処理207)、カウンタI_CNTに所定値Nを
セットして(処理208)、処理204に移行し、実行
中断したタスクの実行を再開する。
Further, when the result of judgment 202 is YES, it is checked whether the variable I_TCB is equal to the identification information C_TCB of the task that issued the system call (judgment 206), and when the result of judgment 206 is NO, , sets the contents of the identification information C_TCB in the variable I_TCB (process 207), sets the predetermined value N in the counter I_CNT (process 208), moves to process 204, and resumes execution of the task whose execution was interrupted.

【0033】また、判断206の結果がYESになると
きには、カウンタI_CNTをデクリメントし(処理2
09)、カウンタI_CNTの値が0に等しいかどうか
を調べる(判断210)。
Further, when the result of judgment 206 is YES, the counter I_CNT is decremented (processing 2
09), check whether the value of counter I_CNT is equal to 0 (decision 210).

【0034】判断210の結果がNOになるときには、
そのときに発行されたシステムコールの機能を実行せず
に、処理204に移行し、実行中断したタスクの実行を
再開する。
[0034] When the result of decision 210 is NO,
Without executing the function of the system call issued at that time, the process moves to process 204 and resumes execution of the task whose execution was interrupted.

【0035】また、判断210の結果がYESになると
きには、同一タスクが不正なシステムコールをN回連続
して発行した場合であり、そのタスクが異常な状態なの
で、所定の例外処理ルーチン(図示略)を実行し(処理
211)、実行中のタスクに対応した終了ルーチンを実
行してそのタスクが使用しているシステム資源を全て解
放させ(処理212)、変数I_TCBに所定値NUL
Lをセットするとともに(処理213)、カウンタI_
CNTに所定値Nをセットし(処理214)、処理20
4に移行して、実行中断したタスクの実行を再開する。
Further, when the result of judgment 210 becomes YES, it means that the same task has issued an invalid system call N times in a row, and the task is in an abnormal state, so a predetermined exception handling routine (not shown) is executed. ) (process 211), executes the end routine corresponding to the task being executed, releases all system resources used by that task (process 212), and sets a predetermined value NUL to the variable I_TCB.
At the same time as setting L (processing 213), counter I_
A predetermined value N is set in CNT (process 214), and process 20
4, the execution of the task whose execution was interrupted is resumed.

【0036】このようにして、本実施例では、装置稼働
時に同一タスクが不正なシステムコールを連続してN回
発行したとき、そのシステムコールを発行したユーザタ
スクが異常であると判定し、そのユーザタスクを強制的
に終了させているので、このユーザタスクの異常が原因
となって他のタスクの実行状態まで異常になるような事
態を防止できる。
In this way, in this embodiment, when the same task issues an invalid system call N times in succession during device operation, it is determined that the user task that issued the system call is abnormal, and the user task that issued the system call is determined to be abnormal. Since the user task is forcibly terminated, it is possible to prevent a situation in which the execution status of other tasks becomes abnormal due to an abnormality in this user task.

【0037】また、そのときに、異常なユーザタスクに
対応した終了ルーチンを実行させて、そのユーザタスク
が使用していたシステム資源を解放するとともに、その
ユーザタスクが他のユーザタスク(以下、子タスクとい
う)を起床したり、生成した場合には、その子タスクを
消滅させて、ワークエリアを解放させるようにしている
At that time, the termination routine corresponding to the abnormal user task is executed to release the system resources used by that user task, and the user task is also When a task (referred to as a task) is woken up or created, its child tasks are destroyed and the work area is released.

【0038】なお、上述した実施例では、ソフトウェア
割り込みを利用してシステムコールを実現しているが、
システムコールの実現形態がこの実施例と相違する場合
にも、本発明を同様にして適用することができる。
[0038] In the above-mentioned embodiment, the system call is realized using software interrupts.
The present invention can be applied in the same way even if the implementation form of the system call is different from this embodiment.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれば、
装置機能検査時、システム暴走したときの原因となった
ユーザタスクが強制待ち状態に遷移させるので、そのシ
ステム暴走の影響が他のユーザタスクに影響を及ぼすこ
とが防止され、装置機能検査を効率よく行なうことがで
きる。また、装置稼働時、システム暴走したときの原因
となったユーザタスクが強制終了されるので、そのシス
テム暴走の影響が他のユーザタスクに影響を及ぼすこと
が防止されるという効果を得る。
[Effects of the Invention] As explained above, according to the present invention,
During a device function test, the user task that caused the system out of control is placed in a forced wait state, which prevents the system out of control from affecting other user tasks, making the device function test more efficient. can be done. Furthermore, since the user task that caused the system runaway during operation of the device is forcibly terminated, the effect of preventing the system runaway from affecting other user tasks is obtained.

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

【図1】本発明の一実施例にかかる装置モデルを示すブ
ロック図。
FIG. 1 is a block diagram showing a device model according to an embodiment of the present invention.

【図2】図1の装置モデルのシステム構成の概略を示す
概略図。
FIG. 2 is a schematic diagram showing an outline of the system configuration of the device model in FIG. 1;

【図3】図1の装置モデルのメモリ空間の分割態様を例
示した概略図。
FIG. 3 is a schematic diagram illustrating how the memory space of the device model in FIG. 1 is divided.

【図4】図1の装置モデルのソフトウェアをデバッグす
るときにユーザタスクからシステムコールが発行された
ときにOSが実行する処理例を示すフローチャート。
FIG. 4 is a flowchart showing an example of processing executed by the OS when a system call is issued from a user task when debugging the software of the device model in FIG. 1;

【図5】図1の装置モデルの稼働時にユーザタスクから
システムコールが発行されたときにOSが実行する処理
例を示すフローチャート。
FIG. 5 is a flowchart showing an example of processing executed by the OS when a system call is issued from a user task during operation of the device model in FIG. 1;

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  複数のユーザタスクを並列して処理可
能な組込型マルチタスクオペレーティングシステムの例
外処理方法において、装置機能検査時、未定義機能のシ
ステムコールが、同一ユーザタスクから所定回数連続し
て発行されると、そのユーザタスクを強制待ち状態に遷
移させることを特徴とする組込型マルチタスクオペレー
ティングシステムの例外処理方法。
Claim 1: In an exception handling method for an embedded multitasking operating system capable of processing multiple user tasks in parallel, during a device function test, a system call for an undefined function is made consecutively from the same user task a predetermined number of times. An exception handling method for an embedded multitasking operating system, characterized in that when a user task is issued, the user task is transited to a suspended state.
【請求項2】  複数のユーザタスクを並列して処理可
能な組込型マルチタスクオペレーティングシステムの例
外処理方法において、装置稼働時、未定義機能のシステ
ムコールが、同一ユーザタスクから所定回数連続して発
行されると、そのユーザタスクを強制的に終了させるこ
とを特徴とする組込型マルチタスクオペレーティングシ
ステムの例外処理方法。
Claim 2: In an exception handling method for an embedded multitasking operating system that can process multiple user tasks in parallel, when the device is operating, a system call for an undefined function is made consecutively from the same user task a predetermined number of times. An exception handling method for an embedded multitasking operating system, characterized in that when an exception is issued, the user task is forcibly terminated.
JP3110805A 1990-11-29 1991-04-17 How to handle exceptions in an embedded multitasking operating system Pending JPH04229331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3110805A JPH04229331A (en) 1990-11-29 1991-04-17 How to handle exceptions in an embedded multitasking operating system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP32518390 1990-11-29
JP2-325183 1990-11-29
JP3110805A JPH04229331A (en) 1990-11-29 1991-04-17 How to handle exceptions in an embedded multitasking operating system

Publications (1)

Publication Number Publication Date
JPH04229331A true JPH04229331A (en) 1992-08-18

Family

ID=26450339

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3110805A Pending JPH04229331A (en) 1990-11-29 1991-04-17 How to handle exceptions in an embedded multitasking operating system

Country Status (1)

Country Link
JP (1) JPH04229331A (en)

Similar Documents

Publication Publication Date Title
JPH05216851A (en) Method for high-speed communication between user program and operating system
JPH0895821A (en) Multitask program debugging method and apparatus
JPH0521251B2 (en)
JPH04229331A (en) How to handle exceptions in an embedded multitasking operating system
JP3124788B2 (en) Exception handling method of embedded multitasking operating system
JPH0328933A (en) Task control method
JPH0433130A (en) Multi-chip configuration method
JP4535663B2 (en) State machine control method and state machine
JP2508026B2 (en) Timer control method
JPH03260838A (en) Limiting system for cpu using time
JPS5835648A (en) Program execution controlling system
JPH04264632A (en) Execution tracing system for parallel arithmetic processing unit
JPS6020771B2 (en) Micro diagnosis method
JPH01185729A (en) Overlay structure program execution system
JPH0378034A (en) Program parallel execution device
JPS6339047A (en) Test program scheduler
JPH01319854A (en) Loosely-coupled multiprocessor testing system
JPS61148535A (en) Function type/logical type language processor
JPH07210403A (en) Task switching system
JPH0462093B2 (en)
JPH10312294A (en) Information processing apparatus, information processing method, and readable recording medium recording information processing program
JPH11272501A (en) Debugger processing method and real-time OS processing method
JPH08272630A (en) Multitask processing method and processing device by ladder program
JPH01154252A (en) Program debug back-up device for parallel processors
JPS61194531A (en) Instruction execution controller