Patent ID: 8386720
Filing Date: 2013-02-26
Classification: G06F

Abstract:
1. A method of causing transitions among modes by a computing device for allowing exclusive access to shared data in order to allow stopping of a program including a code for execution in a critical section and an instruction to write a value into or read a value from a shared data area in a memory, the method comprising at least one of the steps of: causing a transition from a transaction mode to a quasi-transaction mode, the transition from the transaction mode to the quasi-transaction mode being caused in response to a number of transactions executed in parallel becoming smaller than a threshold value, or in response to a rate of cancelling the transactions becoming greater than a threshold value; causing a transition from the quasi-transaction mode to a lock mode; and causing a transition from the quasi-transaction mode to the transaction mode, wherein the lock mode is a mode for executing a critical section by using a lock, the transaction mode is a mode for executing a critical section by using a transactional memory scheme, and the quasi-transaction mode is a mode for executing a critical section by executing the steps of: