摘要 |
PROBLEM TO BE SOLVED: To attain reduction of overhead for successively executing programs and reduction of overhead by executing programs in parallel when an object has not been updated. SOLUTION: A synchronous reference code expressing whether or not synchronous update has been performed is applied to data being the target of application of a critical section, and the code is set at a point of time when the synchronous update has been performed. A sentence in the critical section is executed, and whether or not the synchronous update of data has been performed is confirmed. Whether or not the synchronous update has been performed is confirmed after performing reference by a threshold for performing synchronous reference, and the validity of update is confirmed. When the synchronous update has not been performed, the execution of the critical section is completed. Thus, it is possible to attain the synchronous execution of the critical section and the reduction of overhead, and when the synchronous update has been performed, normal exclusive control is executed. COPYRIGHT: (C)2006,JPO&NCIPI
|