首页> 外文会议>Distributed Computing >A Practical Multi-word Compare-and-Swap Operation
【24h】

A Practical Multi-word Compare-and-Swap Operation

机译:实用的多字比较和交换操作

获取原文

摘要

Work on non-blocking data structures has proposed extending processor designs with a compare-and-swap primitive, CAS2, which acts on two arbitrary memory locations. Experience suggested that current operations, typically single-word compare-and-swap (CAS_1), are not expressive enough to be used alone in an efficient manner, fn this paper we build CAS2 from CASl and, in fact, build an arbitrary multi-word compare-and-swap (CASN). Our design requires only the primitives available on contemporary systems, reserves a small and constant amount of space in each word updated (either 0 or 2 bits) and permits non-overlapping updates to occur concurrently. This provides compelling evidence that current primitives are not only universal in the theoretical sense introduced by Herlihy, but are also universal in their use as foundations for practical algorithms. This provides a straightforward mechanism for deploying many of the interesting non-blocking data structures presented in the literature that have previously required CAS2.
机译:在非阻塞数据结构上的工作提出了扩展处理器设计的比较和交换原语CAS2,它作用于两个任意存储位置。经验表明,当前的操作(通常是单字比较和交换(CAS_1))的表达能力不足,无法有效地单独使用。在本文中,我们是根据CAS1构建CAS2的,实际上是构建任意多单词比较和交换(CASN)。我们的设计只需要当代系统上可用的原语,就可以在每个更新的字(0或2位)中保留少量且恒定的空间,并允许不重叠的更新同时发生。这提供了令人信服的证据,即当前基元不仅在Herlihy引入的理论意义上是通用的,而且在用作实用算法的基础上也是通用的。这为部署以前需要CAS2的文献中提供的许多有趣的非阻塞数据结构提供了一种简单的机制。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号