摘要 |
PROBLEM TO BE SOLVED: To provide a technique for optimizing grace period detection following a shared data update operation that affects preemptible data readers. SOLUTION: A determination is made whether a data processing system is a uniprocessor system or a multiprocessor system. If the data processing system is the uniprocessor system, the grace period detection processing is performed using a first grace period detection technique. On the other hand, if the data processing system is the multiprocessor system, grace period detection processing is performed using a second grace period detection technique. The grace period detection processing determines the end of a grace period in which readers that are subject to preemption have passed through a quiescent state and cannot be maintaining references to the pre-update view of the shared data. COPYRIGHT: (C)2010,JPO&INPIT |