Patent ID: 7877753
Filing Date: 2011-01-25
Classification: G06F

Abstract:
1. A multi-processor system with a plurality of unit processors, comprising: a semaphore setting section for setting a semaphore representing a preferential right to competing of each of a plurality of resources; a semaphore request determining section for determining, when a first unit processor among said plurality of unit processors requests to obtain the semaphore set by said semaphore setting section, whether the request is for requesting the semaphore obtained by a second unit processor; and an exclusive controlling section for making the request by the first unit processor wait when the semaphore request determining section determines that said request is for requesting the semaphore obtained by the second unit processor, and for permitting the requested semaphore to be obtained when the semaphore request determining section determines that said request is for requesting a semaphore other than the semaphore obtained by any of the plurality of unit processors, wherein the semaphore setting section assigns identification information to each of a plurality of semaphores to identify each of the plurality of semaphores, assigns a plurality of the resources to at least one of the plurality of semaphores, and sets an area in a shared memory for each of the plurality of semaphores to manage the plurality of semaphores, and wherein the semaphore request determining section determines whether or not the semaphore requested by the first unit processor is the semaphore obtained by the second unit processor based on the area in the shared memory.