摘要 |
An electronic control unit that can execute object-oriented program processing without consuming much memory. When a message is dispatched due to execution of an object method, that message is stored (queued) in an object message holding part. At the point in time when execution of an object method finishes, message delivery processing is executed. If a message has been stored in the object message holding part, the number of queuing messages is counted, the message stored first is read out, and a shift is made to execution of the method of the object that is the output destination of that message. As a result, only messages need to be stored, and the amount of stored information, and thus the amount of memory required to store the information, is small.
|