Patent ID: 9558152
Date: 2017-01-31
CPC Classifications: G06F

Claim:
1. A synchronization method executed by a multi-processor system, the synchronization method comprising: sending, by a first CPU among a plurality of CPUs, a synchronous signal that is issued based on a synchronous command included in a synchronization processing to the plurality of CPUs excluding the first CPU, the plurality of CPUs accessing a first shared memory area to execute the synchronization processing; increasing, by a second CPU among the plurality of CPUs and different from the first CPU and based on receiving the synchronous signal from the first CPU, an arrival count for a synchronous point by one, the synchronous point indicating a position of the synchronous command in the synchronization processing and the arrival count indicating a number of CPUs arriving at the synchronous point among the plurality of CPUs; sending, by the second CPU, a ready signal indicating an arrival to the synchronous point, to the plurality of CPUs excluding the first CPU and the second CPU as a result of increasing the arrival count by one; creating, by the second CPU, a second shared memory area and a third shared memory area that are a duplication of the first shared memory area and accessing, by the second CPU, data stored only in the second shared memory area to execute a subsequent processing subsequent to the synchronization processing when the arrival count is not equal to count of the CPUs excluding the first CPU as a result of increasing the arrival count by one; when the arrival count is equal to the count of the CPUs excluding the first CPU as a result of receiving the ready signal from a CPU different from the second CPU and the first CPU: