A multi CPU system is capable of performing exclusive control of a
plurality of CPUs accessing to the same resource by a hardware without
depending on an OS. The plurality of CPUs are connected with the same
system bus. A plurality of circuits one-to-one correspond to each of the
plurality of CPUs and comprise respective semaphore acquisition
registers. Each of the CPUs in accessing to the resource is controlled,
based on the value written in the semaphore acquisition register of the
corresponding circuit, the presence or absence of the priority in the
semaphore control, and a semaphore signal received from the another
circuit.