摘要 |
PROBLEM TO BE SOLVED: To provide an inter-task communication method capable of reducing the processing load of a processor. SOLUTION: The queueing of data is carried out when a message is transmitted, and whether or not any message whose priority is the same in a stand-by status for transmission is present is confirmed based on the value of a message transmission counter with the pertinent priority. When any message in the stand-by status is not present, the start request of a task B is issued to an RTOS in the same way as a conventional manner, and when any message in the stand-by status is present, the start request of the task B is not issued, and the transmission processing is ended. When the task B is started, the queueing-processed data are extracted, and processing using the data is performed, and whether or not any message whose priority is the same in the stand-by status is left is checked, and when any message is left, the next reception processing is continuously performed without completing the task, and it is repeated until any message in the stand-by status is absent. Thus, it is possible to reduce the start and end processing of the task, and to reduce the processing load. COPYRIGHT: (C)2004,JPO&NCIPI
|