JPH05210520A - Registration system of message box - Google Patents

Registration system of message box

Info

Publication number
JPH05210520A
JPH05210520A JP3837092A JP3837092A JPH05210520A JP H05210520 A JPH05210520 A JP H05210520A JP 3837092 A JP3837092 A JP 3837092A JP 3837092 A JP3837092 A JP 3837092A JP H05210520 A JPH05210520 A JP H05210520A
Authority
JP
Japan
Prior art keywords
message
asynchronous
system program
message box
waiting
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
JP3837092A
Other languages
Japanese (ja)
Inventor
Shuji Yamamoto
修司 山本
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 JP3837092A priority Critical patent/JPH05210520A/en
Publication of JPH05210520A publication Critical patent/JPH05210520A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To use the message box by a system program which is previously placed in an asynchronous waiting state. CONSTITUTION:The 1st system program 1 which is previously placed in the asynchronous even waiting state uses a local waiting mechanism registering means 21 and a message informing means 22 of a message box to wait for messages of both a 2nd system program 3, which gains asynchronous access by the message box and a 3rd system program 4 which gains asynchronous access by a conventional asynchronous event waiting mechanism, by the same asynchronous even waiting mechanism.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、メッセージボックスを
使用してジョブ間またはプロセス間で非同期通知を行う
情報処理システムに関し、特にあらかじめ非同期待ち合
わせを行っているシステムプログラムが、ローカル待ち
合わせ機構を登録することにより、メッセージボックス
を使用した非同期アクセスを可能とする方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system that uses a message box to perform asynchronous notification between jobs or processes, and in particular, a system program that has previously performed asynchronous waiting registers a local waiting mechanism. As a result, the present invention relates to a method that enables asynchronous access using a message box.

【0002】[0002]

【従来の技術】あらかじめ非同期待ち合わせを行ってい
るシステムプログラムにおいて、メッセージボックスを
使用してジョブ間またはプロセス間で非同期通知を行お
うとする場合、従来方式によれば、非同期事象待ち合わ
せ機構を使用している処理を、全てメッセージボックス
という仮想的な非同期事象待ち合わせ機構を使用した非
同期待ち合わせ方式に変更していた。
2. Description of the Related Art In a system program in which asynchronous waiting is performed in advance, when a message box is used to perform asynchronous notification between jobs or processes, according to the conventional method, an asynchronous event waiting mechanism is used. All the existing processes were changed to an asynchronous waiting method that uses a virtual asynchronous event waiting mechanism called a message box.

【0003】[0003]

【発明が解決しようとする課題】解決しようとする問題
は、メッセージボックスという仮想的な非同期事象待ち
合わせ機構を使用した非同期メッセージ通知方式と、従
来のOSに依存した非同期事象待ち合わせ機構を使用し
た非同期メッセージ通知方式との両方を同時には使用で
きないという点である。
The problems to be solved are: an asynchronous message notification method using a virtual asynchronous event waiting mechanism called a message box, and an asynchronous message notification method using a conventional OS-dependent asynchronous event waiting mechanism. The point is that both the notification method and the notification method cannot be used at the same time.

【0004】[0004]

【課題を解決するための手段】本発明のメッセージボッ
クスの登録方式は、あらかじめ非同期待ち合わせを行っ
ているシステムプログラムにより、独自に用意した非同
期事象待ち合わせ機構をメッセージボックスとして登録
することを特徴とする。
The message box registration method of the present invention is characterized in that an asynchronous event waiting mechanism, which is independently prepared, is registered as a message box by a system program which has previously performed asynchronous waiting.

【0005】[0005]

【実施例】次に、本発明について図面を参照して詳細に
説明する。図1は、本発明によるメッセージボックスの
登録方式の一実施例を示す構成図である。図1におい
て、1は第1のシステムプログラム,2はメッセージボ
ックス処理部,21はローカル待ち合わせ機構登録手
段,22はメッセージ通知手段,3は第2のシステムプ
ログラム,4は第3のシステムプログラムである。
The present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a message box registration system according to the present invention. In FIG. 1, 1 is a first system program, 2 is a message box processing unit, 21 is a local queuing mechanism registration means, 22 is a message notification means, 3 is a second system program, and 4 is a third system program. ..

【0006】図1において、第1のシステムプログラム
1はあらかじめ非同期事象待ち合わせを行っているシス
テムプログラムであり、メッセージボックスを使用した
非同期待ち合わせ方式と、従来からのOSに依存した非
同期事象待ち合わせ機構を使用した非同期メッセージ通
知方式との両方で待ち合わせを行うものである。第1の
システムプログラム1は、従来のOSに依存した非同期
事象待ち合わせ機構を確保し、ローカル待ち合わせ機構
登録手段21を使用して、メッセージボックスと、従来
のOSに依存した非同期事象待ち合わせ機構とを論理的
に関係づける。
In FIG. 1, a first system program 1 is a system program that has been waiting for asynchronous events in advance, and uses an asynchronous waiting method using a message box and a conventional asynchronous event waiting mechanism depending on the OS. Waiting is performed by both the asynchronous message notification method described above. The first system program 1 secures a conventional OS-dependent asynchronous event queuing mechanism and uses the local queuing mechanism registration means 21 to logically define a message box and a conventional OS-dependent asynchronous event queuing mechanism. Relate to each other.

【0007】このとき、メッセージボックス処理部2
は、ローカル待ち合わせ機構登録手段21により、シス
テム一意の値であるメッセージボックス識別子を付与す
る。ここで、ローカル通知待ち合わせ機構登録手段21
では、単にメッセージボックス識別子を割り振るだけ
で、非同期事象待ち合わせ機構を確保しない。第2のシ
ステムプログラム3は、第1のシステムプログラム1に
対してメッセージを通知するために、第1のシステムプ
ログラム1より、あらかじめ登録されたメッセージボッ
クス識別子を指定してメッセージを通知する。このと
き、メッセージボックス処理部2は、メッセージ通知手
段EXITからメッセージボックス識別子に合致したメ
ッセージ通知手段22で第1のシステムプログラム1に
対してメッセージの通知を行う。ここで、メッセージボ
ックスに合致したメッセージ通知手段22とは、従来の
非同期事象待ち合わせ機構に対する通知方式である。こ
れにより、第1のシステムプログラム1は、従来の非同
期事象待ち合わせ機構の待ち合わせ方式で、第2のシス
テムプログラム3からのメッセージを受けることができ
る。
At this time, the message box processing unit 2
The local queuing mechanism registration means 21 assigns a message box identifier which is a system unique value. Here, the local notification waiting mechanism registration means 21
Then, it simply allocates the message box identifier and does not secure the asynchronous event waiting mechanism. In order to notify the message to the first system program 1, the second system program 3 notifies the message by designating a message box identifier registered in advance from the first system program 1. At this time, the message box processing unit 2 notifies the first system program 1 of the message from the message notifying unit EXIT by the message notifying unit 22 that matches the message box identifier. Here, the message notification means 22 that matches the message box is a notification method for the conventional asynchronous event waiting mechanism. As a result, the first system program 1 can receive a message from the second system program 3 by the queuing method of the conventional asynchronous event queuing mechanism.

【0008】また、第3のシステムプログラム4は、従
来のOSに依存した非同期事象待ち合わせ機構で、第1
のシステムプログラム1と非同期待ち合わせを行おうと
するシステムプログラムである。第3のシステムプログ
ラム4は、従来のOSに依存した非同期事象待ち合わせ
機構の通知手段で従来通り第1のシステムプログラム1
に対してメッセージの通知を行うと、第1のシステムプ
ログラム1は従来通りのOSに依存した非同期事象待ち
合わせ機構でメッセージを待ち合わせている。従って、
第3のメッセージプログラム4を受けることができる。
第1のシステムプログラム1が非同期待ち合わせを終了
する場合には、まず、メッセージボックスの解放を行
う。この時、メッセージボックス処理部2は、非同期事
象待ち合わせ機構解放EXITにより解放を行う。この
場合、ローカル待ち合わせ機構登録手段21でシステム
一意のメッセージボックス識別子を割り振っただけであ
るので、メッセージボックス識別子の解放だけを行い、
非同期事象待ち合わせ機構の解放は行わない。
Further, the third system program 4 is a conventional OS-dependent asynchronous event waiting mechanism,
The system program 1 is a system program that intends to make an asynchronous wait. The third system program 4 is the notification means of the conventional OS-dependent asynchronous event waiting mechanism, and the first system program 1 is the same as before.
The first system program 1 waits for the message by the conventional OS-dependent asynchronous event waiting mechanism. Therefore,
The third message program 4 can be received.
When the first system program 1 ends the asynchronous waiting, first, the message box is released. At this time, the message box processing unit 2 releases the asynchronous event waiting mechanism release EXIT. In this case, only the system unique message box identifier is allocated by the local queuing mechanism registration means 21, so only the message box identifier is released.
The asynchronous event waiting mechanism is not released.

【0009】その後、第1のシステムプログラム1は、
従来通りOSに依存した非同期事象待ち合わせ機構を解
放する。すなわち、ローカル待ち合わせ機構登録手段2
1により、あらかじめ非同期待ち合わせを行っているシ
ステムプログラムが、メッセージボックスという仮想的
な非同期事象待ち合わせ機構を使用したジョブ/プロセ
ス間通信の非同期メッセージ通知方式を実行するよう、
変更する改造箇所を局所化し、また、従来のOSに依存
した非同期事象待ち合わせ機構を使用したジョブ/プロ
セス間通信の非同期メッセージ通知方式と共存させる事
ができる。
After that, the first system program 1
The OS-dependent asynchronous event waiting mechanism is released as usual. That is, the local queuing mechanism registration means 2
1 allows a system program that has previously performed asynchronous wait to execute the asynchronous message notification method of job / process communication that uses a virtual asynchronous event wait mechanism called a message box.
It is possible to localize the remodeled portion to be changed and to coexist with the conventional asynchronous message notification method of job / interprocess communication using the asynchronous event waiting mechanism depending on the OS.

【0010】[0010]

【発明の効果】以上説明したように本発明は、ローカル
通知手段により、あらかじめ非同期待ち合わせを行って
いるシステムプログラムが、メッセージボックスという
仮想的な非同期事象待ち合わせ機構を使用してジョブ/
プロセス間通信の非同期メッセージ通知方式を実行する
ように変更するため、改造箇所を局所化し、また、従来
のOSに依存した非同期事象待ち合わせ機構を使用した
ジョブ/プロセス間通信の非同期メッセージ通知方式と
共存させることができる利点がある。
As described above, according to the present invention, a system program which has previously made an asynchronous wait by the local notification means uses a virtual asynchronous event wait mechanism called a message box for job / job
Since the modification is performed so that the asynchronous message notification method for inter-process communication is executed, the remodeled part is localized and coexists with the asynchronous message notification method for job / inter-process communication that uses the conventional OS-dependent asynchronous event waiting mechanism. There is an advantage that can be made.

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

【図1】本発明によるメッセージボックスの登録方式の
一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a message box registration system according to the present invention.

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

1,3,4 システムプログラム 2 メッセージボックス処理部 21 ローカル待ち合わせ機構登録手段 22 メッセージ通知手段 1, 3, 4 System Program 2 Message Box Processing Unit 21 Local Waiting Mechanism Registering Means 22 Message Notifying Means

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 非同期事象の待ち合わせ機構を確保して
メッセージを待ち合わせるための第1のシステムプログ
ラム実行手段と、 ローカル待ち合わせ機構を登録し、メッセージボックス
においてメッセージを通知するためのメッセージボック
ス処理部と、 前記第1のシステムプログラム実行手段に対してメッセ
ージボックス識別子を指定してメッセージを通知するた
めの第2のシステムプログラム実行手段と、 前記第1のシステムプログラム実行手段に対して前記非
同期事象待ち合わせ機構でメッセージを通知するための
第3のシステムプログラム実行手段とを備えたメッセー
ジボックスの登録方式。
1. A first system program executing means for securing a waiting mechanism for an asynchronous event and waiting a message, a message box processing unit for registering a local waiting mechanism, and notifying a message in a message box, A second system program executing means for notifying a message by designating a message box identifier to the first system program executing means; and an asynchronous event waiting mechanism for the first system program executing means. A message box registration method including a third system program executing means for notifying a message.
【請求項2】 前記メッセージボックスは前記非同期メ
ッセージ通知方式におけるものであるように構成した請
求項1のメッセージボックスの登録方式。
2. The message box registration method according to claim 1, wherein the message box is configured to be in the asynchronous message notification method.
【請求項3】 あらかじめ非同期待ち合わせを行ってい
る前記第1のシステムプログラムが、独自に用意した前
記非同期事象待ち合わせ機構をメッセージボックスとし
て登録を行うため、前記ローカル待ち合わせ機構登録手
段を備えた請求項1のメッセージボックスの登録方式。
3. The local queuing mechanism registration means for registering the asynchronous event queuing mechanism prepared by the first system program, which has previously performed the asynchronous queuing, as a message box. Message box registration method.
JP3837092A 1992-01-30 1992-01-30 Registration system of message box Pending JPH05210520A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3837092A JPH05210520A (en) 1992-01-30 1992-01-30 Registration system of message box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3837092A JPH05210520A (en) 1992-01-30 1992-01-30 Registration system of message box

Publications (1)

Publication Number Publication Date
JPH05210520A true JPH05210520A (en) 1993-08-20

Family

ID=12523398

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3837092A Pending JPH05210520A (en) 1992-01-30 1992-01-30 Registration system of message box

Country Status (1)

Country Link
JP (1) JPH05210520A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882813A (en) * 1987-11-18 1989-11-28 Shinagawa Shoko Co., Ltd. Banding clip

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4882813A (en) * 1987-11-18 1989-11-28 Shinagawa Shoko Co., Ltd. Banding clip

Similar Documents

Publication Publication Date Title
JPH05210520A (en) Registration system of message box
JP3644042B2 (en) Multitask processing device
JPH04373026A (en) Program interrupting method
JPH05134960A (en) Local processing system
JP2915074B2 (en) Event dequeueing method in multitask processing system
JP2903525B2 (en) Job management method
JP4039145B2 (en) Multiprocessor system, load balancing control method used therefor, and program thereof
JPH01248240A (en) Process control system
JPH03131935A (en) Timer managing system
JPS61199156A (en) Tss session opening processing system
JPS6161405B2 (en)
JPH10247158A (en) On-line exclusive wait evading method
JPS61283955A (en) Task control system for close connection type multi-processor
JPH03244040A (en) Parallel run type debug system
JP2923924B2 (en) Resource waiting job start method
JPH08328883A (en) System program calling method
JPS6154542A (en) Task control system
JPH0797322B2 (en) Dispatch control method
JPS63234330A (en) Asynchronous processing system for computer system
JPH0421150A (en) On-line processing system
JPS63159942A (en) Event control system for real time os
JPH0373027A (en) Vector register saving and restoring system
JPH1049386A (en) Resource exclusive system
JPH02212965A (en) Program loading system
JPH01166226A (en) Interruption processing system for operating system