首页>
外国专利>
Utilizing software locking approach to execute code upon failure of hardware transactional approach
Utilizing software locking approach to execute code upon failure of hardware transactional approach
展开▼
机译:利用软件锁定方法在硬件事务处理方法失败时执行代码
展开▼
页面导航
摘要
著录项
相似文献
摘要
Utilizing a software locking approach to execute a code section, upon failure of a hardware transactional approach, is disclosed. A method is disclosed that includes utilizing a hardware approach to transactional memory to execute a code section relating to memory. Where utilizing the hardware approach fails a threshold in executing the code section, the software approach is instead utilized to execute the code section relating to the memory. The threshold may include the hardware approach aborting execution of the code section a predetermined one or more times. The hardware approach includes starting a transaction inclusive of the code section, conditionally executing the transaction, and upon successfully completing the transaction, committing execution to memory. The software locking approach includes placing a lock on memory, executing the code section, committing execution of the code section to the memory as the code section is executed, and then removing the lock from the memory.
展开▼