摘要 |
PROBLEM TO BE SOLVED: To obtain a processor which ensures the concurrence of data by allowing another CPU module to read data out of a common data area, when an in-output flag is off and allowing the CPU module to write data to the common data area, when the in-input flag is off. SOLUTION: When the in-input flags of a flag part 13 are all off, a CPU 11 reads desired data to be shared out of a data area 121 and writes them to the common data area 122. When an in-output flag of the flag part 13 is off, a CPU 21 reads the data out of the common data area 122 and writes them to a data area 221. Thus, when the in-output flag of the flag part of a CPU module 1 is off, a CPU module 2 reads data out of the common data area 122, and when the in-input flags of the flag part 13 are all off, a CPU module 1 writes data to the common data area 122. The concurrency of data can therefore be guaranteed.
|