INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING SYSTEM, AND EXCLUSIVE CONTROL PROGRAM
First Claim
1. An information processing device comprising:
- a plurality of process execution units that execute respective processes;
a lock variable storage device that stores, with respect to a lock relating to a common resource which is accessed by the plurality of process execution units, a lock variable having a lock state flag indicating a lock acquisition state and a lock release state, and a lock identification information which is updated each time the lock is acquired; and
an exclusive control device that executesfirst lock acquisition processing, which includes, when the lock state flag is the lock release state, updating the lock state flag of the lock variable in the lock variable storage device to the lock acquisition state, and updating the lock identification information of the lock variable to newly updated lock identification information, to acquire the lock for the process execution unit, andsecond lock acquisition processing, which includes, when the lock state flag is the lock acquisition state, updating the lock identification information of the lock variable in the lock variable storage device to newly updated lock identification information to acquire the lock for the process execution unit, after a predetermined time-out time elapses while the lock variable in the lock variable storage device maintains the same lock identification information.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing device has process execution units that execute respective processes; a lock variable storage device that stores, with respect to a lock relating to a common resource accessed by the process execution units, a lock variable having a lock state flag and a lock identification information which is updated when lock being acquired; and an exclusive control device that executes first lock acquisition processing, including, when the lock state flag is the lock release state, updating the lock state flag to the lock acquisition state, and updating the lock identification information to newly updated one, to acquire the lock, and second lock acquisition processing, including, when the lock state flag is the lock acquisition state, updating the lock identification information to newly updated lock identification information to acquire the lock, after a time-out time elapses while the lock variable maintains the same lock identification information.
-
Citations
12 Claims
-
1. An information processing device comprising:
-
a plurality of process execution units that execute respective processes; a lock variable storage device that stores, with respect to a lock relating to a common resource which is accessed by the plurality of process execution units, a lock variable having a lock state flag indicating a lock acquisition state and a lock release state, and a lock identification information which is updated each time the lock is acquired; and an exclusive control device that executes first lock acquisition processing, which includes, when the lock state flag is the lock release state, updating the lock state flag of the lock variable in the lock variable storage device to the lock acquisition state, and updating the lock identification information of the lock variable to newly updated lock identification information, to acquire the lock for the process execution unit, and second lock acquisition processing, which includes, when the lock state flag is the lock acquisition state, updating the lock identification information of the lock variable in the lock variable storage device to newly updated lock identification information to acquire the lock for the process execution unit, after a predetermined time-out time elapses while the lock variable in the lock variable storage device maintains the same lock identification information. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An information processing system comprising:
-
a plurality of process execution units that execute respective processes; a common resource which is accessed by the plurality of process execution units; a lock variable storage device that stores, with respect to a lock relating to the common resource, a lock variable having a lock state flag indicating a lock acquisition state and a lock release state, and a lock identification information which is updated each time the lock is acquired; and an exclusive control device that executes first lock acquisition processing, which includes, when the lock state flag is the lock release state, updating the lock state flag of the lock variable in the lock variable storage device to the lock acquisition state, and updating the lock identification information of the lock variable to newly updated lock identification information, to acquire the lock for the process execution unit, and second lock acquisition processing, which includes, when the lock state flag is the lock acquisition state, updating the lock identification information of the lock variable in the lock variable storage device to newly updated lock identification information to acquire the lock for the process execution unit, after a predetermined time-out time elapses while the lock variable in the lock variable storage device maintains the same lock identification information.
-
-
8. A non-transitory computer-readable storage medium storing therein an exclusive control program for causing a computer to execute a process comprising:
-
accessing a lock variable storage device that stores, with respect to a lock relating to a common resource which is accessed by a plurality of process execution units, each of which executes respective process, a lock variable having a lock state flag indicating a lock acquisition state and a lock release state, and a lock identification information which is updated each time the lock is acquired; executing first lock acquisition processing, which includes, when the lock state flag is the lock release state, updating the lock state flag of the lock variable in the lock variable storage device to the lock acquisition state, and updating the lock identification information of the lock variable to newly updated lock identification information, to acquire the lock for the process execution unit, and executing second lock acquisition processing, which includes, when the lock state flag is the lock acquisition state, updating the lock identification information of the lock variable in the lock variable storage device to newly updated lock identification information to acquire the lock for the process execution unit, after a predetermined time-out time elapses while the lock variable in the lock variable storage device maintains the same lock identification information. - View Dependent Claims (9, 10, 11, 12)
-
Specification