首页> 外文会议>ACM symposium on principles of distributed computing >Brief Announcement-From Sequential to Concurrent: Correctness and Relative Efficiency
【24h】

Brief Announcement-From Sequential to Concurrent: Correctness and Relative Efficiency

机译:简要宣布 - 顺序到并发:正确性和相对效率

获取原文

摘要

How to turn a sequential implementation of a data structure (a hash table, a list, a tree, etc.) into a correct and, preferably, efficient concurrent one? What if we provide an environment in which a user can locally run the sequential code so that the resulting execution is globally correct. One way to do this is to use locks to make sure that critical parts of a sequential program can only be accessed in an exclusive mode. An implementation that grabs a lock on the whole data structure before executing a sequential operation imposes a serial order but ignores all the benefits provided by the multiprocessing power of modern machines. Efficient fine-grained locking requires lots of intelligence, since it must be based on good understanding of which parts of the sequential code to protect at what: time.
机译:如何将数据结构(哈希表,列表,树等)顺序实现为正确的,并且优选地高效并发一个?如果我们提供了一个用户可以在本地运行顺序代码的情况下,那呢?使得得到的执行是全局正确的。这样做的一种方法是使用锁来确保只能以独占模式访问顺序程序的关键部分。在执行顺序操作之前抓取整个数据结构上锁定的实现赋予串行顺序,但忽略了现代机器的多处理电力提供的所有益处。有效的细粒度锁定需要大量的智能,因为它必须基于良好的理解,以便在哪些部分来保护以下内容:时间。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号