摘要 |
PROBLEM TO BE SOLVED: To reduce the loads of a system and to improve the entire performance by omitting a locking (synchronizing) processing when a thread accesses an object. SOLUTION: In this computer system provided with a data processing environment where the plural threads 131, 132 and 133 share and respectively access the objects 121, 122, 123 and 124, the objects 121, 122, 123 and 124 are provided with thread local flags 151, 152, 153 and 154 for indicating the presence/absence of thread locality. The threads 131, 132 and 133 access the objects 121, 122, 123 and 124 without performing the locking (synchronizing) processing depending on whether or not the thread local flags 151, 152, 153 and 154 in the objects 121, 122, 123 and 124 to access indicate the presence of the locality to the threads 131, 132 and 133.
|