JPH0363867A - Program synchronous processing system - Google Patents

Program synchronous processing system

Info

Publication number
JPH0363867A
JPH0363867A JP20171989A JP20171989A JPH0363867A JP H0363867 A JPH0363867 A JP H0363867A JP 20171989 A JP20171989 A JP 20171989A JP 20171989 A JP20171989 A JP 20171989A JP H0363867 A JPH0363867 A JP H0363867A
Authority
JP
Japan
Prior art keywords
program
synchronization
synchronizing
central processing
instruction
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
JP20171989A
Other languages
Japanese (ja)
Inventor
Shigeru Takarada
茂 宝田
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 Solution Innovators Ltd
Original Assignee
NEC Software Hokuriku 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 NEC Software Hokuriku Ltd filed Critical NEC Software Hokuriku Ltd
Priority to JP20171989A priority Critical patent/JPH0363867A/en
Publication of JPH0363867A publication Critical patent/JPH0363867A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent the scale of a program increased and the program complicated by eliminating a synchronous processing by software by performing the synchronous operations of the programs with synchronizing instructions on plural central processing units. CONSTITUTION:Firstly, the program 4 is developed on the central processing unit 2, and the program 5 is developed on the central processing unit 3. And the program by which the synchronizing instruction 6 in the program is executed first is stopped, and simultaneously, the execution of the synchronizing instruction is informed from a synchronizing primitive detecting means 7 to the synchronization managing means 9 of a service processor 8. The program to be executed next stops its execution when it executes the synchronizing instruction 6, and the execution of the synchronizing instruction 6 is informed to the synchronization managing means 9 with the synchronizing instruction detecting means 7, and the synchronization managing means 9 discriminates synchronous information stacked on the plural central processing units. Then, the instruction next to each synchronizing primitive 6 can be automatically restarted with a program restart means 10 by taking the synchronization of the programs 4 and 5. In such a way, it is possible to prevent the scale of the program increased and the program complicated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置のプロプラム同期処理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a program synchronization processing method for an information processing device.

〔従来の技術〕[Conventional technology]

従来、情報処理装置のプログラム同期処理方式において
は、複数の中央処理装置上でプログラムを実行し、プロ
グラム内での処理にて同期処理を行う方式がとられてき
た。
Conventionally, in a program synchronization processing method for an information processing device, a method has been adopted in which a program is executed on a plurality of central processing units and the synchronization processing is performed in the processing within the program.

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

上述した従来のプログラム同期処理方式では、プログラ
ム間の同期処理をソフトウェアにて行っているため、同
期動作を頻繁に使用するプログラムではプログラム規模
が増大し繁雑になる。
In the conventional program synchronization processing method described above, the synchronization processing between programs is performed by software, and therefore, programs that frequently use synchronization operations become larger and more complex.

また、試験診断プログラムにおいて競合試験などで非常
に微妙な同期動作を必要とする場合、試験障害が発生し
てしまうという欠点がある。
Furthermore, when a test diagnosis program requires extremely delicate synchronization operations such as in a competitive test, there is a drawback that test failures may occur.

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

本発明のプログラム同期処理方式は、複数の中央処理装
置を有する情報処理装置とサービスプロセッサとから構
成される情報処理システムにおいて、前記情報処理装置
上で展開される複数プログラム上で同期位置を指定し自
プログラムを停止させる同期命令と、前記同期命令を検
出する同期命令検出手段と、前記同期命令検出手段によ
り検出された同期命令の同期を管理する同期管理手段と
、前記同期管理手段で同期を取り再度プログラムを再開
するプログラム再開手段とを有する。
The program synchronization processing method of the present invention specifies a synchronization position on a plurality of programs developed on the information processing device in an information processing system comprising an information processing device having a plurality of central processing units and a service processor. A synchronization command for stopping the own program, a synchronization command detection means for detecting the synchronization command, a synchronization management means for managing synchronization of the synchronization commands detected by the synchronization command detection means, and synchronization by the synchronization management means. and program restart means for restarting the program again.

〔実施例〕〔Example〕

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

第1図は本発明によるプログラム同期処理方式の一実施
例の構成図である。第1図においてプログラム同期処理
方式は、中央処理装置2および3、同期命令6を含むプ
ログラム4および5゜同期命令検出手段7を有する情報
処理装置1と、同期命令管理手段9.プログラム再開手
段lOを有するサービスプロセッサ8とから構成される
FIG. 1 is a block diagram of an embodiment of a program synchronization processing method according to the present invention. In FIG. 1, the program synchronization processing system includes central processing units 2 and 3, a program 4 including a synchronization command 6, an information processing device 1 having a synchronization command detection means 7, a synchronization command management means 9. and a service processor 8 having program restart means IO.

まず、中央処理装置2上にプログラム4を展開し、中央
処理装置3上にプログラム5を展開する。プログラム4
及びプログラム5内には同期命令6があらかじめ組み込
まれている状態で各プログラムが同時に実行される。
First, the program 4 is developed on the central processing unit 2, and the program 5 is developed on the central processing unit 3. Program 4
Each program is executed simultaneously with the synchronization instruction 6 pre-installed in the program 5.

次に、実行されているプログラム4又はプログラム5の
どちらかのプログラム内にある同期命令6を早く実行し
た方のプログラムを停止し、同時に同期命令検出手段7
からサービスプロセッサ8内の同期管理手段9に同期命
令6が実行されたことを通知する。同期命令6が実行さ
れたことの通知を受けた同期管理手段9は受は取った同
期情報をスタックし、対するプログラムの同期命令6の
検出を監視する。
Next, the program that executed the synchronization instruction 6 earlier in either the program 4 or the program 5 being executed is stopped, and at the same time, the synchronization instruction detection means 7
The synchronization management means 9 in the service processor 8 is notified that the synchronization command 6 has been executed. The synchronization management means 9, which has received the notification that the synchronization command 6 has been executed, stacks the received synchronization information and monitors the detection of the synchronization command 6 of the corresponding program.

次に、対するプログラムは同期命令6を実行した時点で
自プログラムを停止し、同期命令検出手段7によって同
期管理手段9に同期命令6が実行されたことを通知し、
同期管理手段9は同期情報を受は取った時点で複数の中
央処理装置のスタンクした同期情報を判別し、プログラ
ム再開手段10によりプログラム4及びプログラム5を
同期を取って各同期命令6の次の命令から自動的に再開
する。
Next, the corresponding program stops its own program when the synchronization command 6 is executed, and the synchronization command detection means 7 notifies the synchronization management means 9 that the synchronization command 6 has been executed.
Upon receiving the synchronization information, the synchronization management means 9 determines the stalled synchronization information of the plurality of central processing units, synchronizes the programs 4 and 5 with the program restart means 10, and executes the next synchronization command 6. Automatically resumes from command.

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

以上説明したように本発明によれば、複数の中央処理装
置上でのプログラムの同期動作を同期命令により行うこ
とにより、ソフトウェアによる同期処理が無くなる。し
たがってプログラム規模の増大及びプログラムの繁雑化
を防ぎ、また、試験診断プログラムにおいて競合試験な
どでソフトウェアでは出来ない非常に微妙な同期動作を
取ることが可能となり、効率的な情報処理装置の資源活
用及び微妙な試験診断ができる効果がある。
As described above, according to the present invention, synchronization of programs on a plurality of central processing units is performed using a synchronization command, thereby eliminating the need for synchronization processing by software. Therefore, it is possible to prevent an increase in the program size and the complexity of the program, and also to make it possible to perform extremely delicate synchronization operations that cannot be done with software in competitive tests in the test diagnosis program, and to efficiently utilize the resources of the information processing equipment. It is effective in making delicate test diagnoses.

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

第1図は本発明の一実施例を示す構成図である。 1・・・情報処理装置、2.3・・・中央処理装置、4
.5・・・試験診断プログラム、6・・・同期命令、7
・・・同期命令検出手段、8・・・サービスプロセッサ
、9・・・同期管理手段、10・・・試験診断プログラ
ム再開手段。
FIG. 1 is a block diagram showing an embodiment of the present invention. 1... Information processing device, 2.3... Central processing unit, 4
.. 5...Test diagnosis program, 6...Synchronization command, 7
. . . synchronous command detection means, 8 . . . service processor, 9 . . . synchronization management means, 10 .

Claims (1)

【特許請求の範囲】[Claims] 複数の中央処理装置を有する情報処理装置とサービスプ
ロセッサとから構成される情報処理システムにおいて、
前記情報処理装置上で展開される複数プログラム上で同
期位置を指定し自プログラムを停止させる同期命令と、
前記同期命令を検出する同期命令検出手段と、前記同期
命令検出手段により検出された同期命令の同期を管理す
る同期管理手段と、前記同期管理手段で同期を取り再度
プログラムを再開するプログラム再開手段とを有するこ
とを特徴とするプログラム同期処理方式。
In an information processing system composed of an information processing device having multiple central processing units and a service processor,
a synchronization command that specifies a synchronization position on multiple programs developed on the information processing device and stops the own program;
a synchronization command detection means for detecting the synchronization command; a synchronization management means for managing synchronization of the synchronization commands detected by the synchronization command detection means; and a program restart means for synchronizing with the synchronization management means and restarting the program again. A program synchronous processing method characterized by having the following.
JP20171989A 1989-08-02 1989-08-02 Program synchronous processing system Pending JPH0363867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20171989A JPH0363867A (en) 1989-08-02 1989-08-02 Program synchronous processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20171989A JPH0363867A (en) 1989-08-02 1989-08-02 Program synchronous processing system

Publications (1)

Publication Number Publication Date
JPH0363867A true JPH0363867A (en) 1991-03-19

Family

ID=16445799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20171989A Pending JPH0363867A (en) 1989-08-02 1989-08-02 Program synchronous processing system

Country Status (1)

Country Link
JP (1) JPH0363867A (en)

Similar Documents

Publication Publication Date Title
JP2001134466A (en) Debug device and debug method and program recording medium
JPH06274354A (en) Method and system for control of operation of destructive hardware
JPH0363867A (en) Program synchronous processing system
JP3207564B2 (en) Event recording method and device
JPH0588933A (en) Parallel processing system with debugging function
JPH064318A (en) Error detecting system
JPH0314136A (en) Mutual diagnostic system for microprocessor system
JP2641919B2 (en) Job schedule stop device
JPH052500A (en) Software tester of multi-processor system
JPH08171498A (en) Multicomputer debugger system and multicomputer system adopting the same
JPH05324416A (en) System error history saving system
JPH0887421A (en) Method and system for process switching
JPH05274173A (en) Pseudo fault setting system
JPH01211129A (en) Information processor
JPH0378034A (en) Program parallel execution device
JPH01207837A (en) System diagnostic system
JPH03204735A (en) Competitive operation testing system
JPH03256132A (en) Double task system device
JPS61208156A (en) Diagnostic system for communication controller
JPS62127946A (en) Test controlling system for arithmetic processor
JPS63147239A (en) Check system for information processor
JPH0756773A (en) Method for diagnosing control device
JPH0460848A (en) Data processor
JPH10269104A (en) Parallel system testing method
JPH011041A (en) Early failure detection method