发明授权
- 专利标题: Selective signalling of later reserve location memory fault in compound compare and swap
- 专利标题(中): 复合比较和交换中的故障选择信号
-
申请号: US09829207申请日: 2001-04-09
-
公开(公告)号: US06880071B2公开(公告)日: 2005-04-12
- 发明人: Guy L. Steele, Jr. , Ole Agesen , Nir N. Shavit
- 申请人: Guy L. Steele, Jr. , Ole Agesen , Nir N. Shavit
- 申请人地址: US CA Sunnyvale
- 专利权人: Sun Microsystems, Inc.
- 当前专利权人: Sun Microsystems, Inc.
- 当前专利权人地址: US CA Sunnyvale
- 代理机构: Zagorin O'Brien Graham LLP
- 主分类号: G06F9/30
- IPC分类号: G06F9/30 ; G06F9/312 ; G06F9/46
摘要:
A sequentially performed implementation of a compound compare-and-swap (nCAS) operation has been developed. In one implementation, a double compare-and-swap (DCAS) operation does not result in a fault, interrupt, or trap in the situation where memory address A2 is invalid and the contents of memory address A1 are unequal to C1. In some realizations, memory locations addressed by a sequentially performed nCAS or DCAS instruction are reserved (e.g., locked) in a predefined order in accordance with a fixed total order of memory locations. In this way, deadlock between concurrently executed instances of sequentially performed nCAS instructions can be avoided. Other realizations defer responsibility for deadlock avoidance to the programmer.
公开/授权文献
- US20020147872A1 Sequentially performed compound compare-and-swap 公开/授权日:2002-10-10
信息查询