发明申请
- 专利标题: Methods and apparatus to implement parallel transactions
- 专利标题(中): 实现并行交易的方法和设备
-
申请号: US11475262申请日: 2006-06-27
-
公开(公告)号: US20070198792A1公开(公告)日: 2007-08-23
- 发明人: David Dice , Nir Shavit
- 申请人: David Dice , Nir Shavit
- 主分类号: G06F12/14
- IPC分类号: G06F12/14
摘要:
A computer system includes multiple processing threads that execute in parallel. The multiple processing threads have access to a global environment including different types of metadata enabling the processing threads to carry out simultaneous execution depending on a currently selected type of lock mode. A mode controller monitoring the processing threads initiates switching from one type of lock mode to another depending on current operating conditions such as an amount of contention amongst the multiple processing threads to modify the shared data. The mode controller can switch from one lock mode another regardless of whether any of the multiple processes are in the midst of executing a respective transaction. A most efficient lock mode can be selected to carry out the parallel transactions. In certain cases, switching of lock modes causes one or more of the processing threads to abort and retry a respective transaction according to the new mode.
公开/授权文献
- US08065499B2 Methods and apparatus to implement parallel transactions 公开/授权日:2011-11-22
信息查询