PDF版本最大的好处是排版比知乎的排版要好,而且方便。 我本着最大的专业性去翻译每一个章节,每一句话。 翻译这本文档花费了我大量业余时间,其中难免有错,请多多包含并结合英文原本一起食用。 码字不易,如果要转载麻烦帮忙注明一下作者的CSDN和知乎地址,谢谢 CSDN : https://blog.csdn.net/vivo01 知乎: https://www.zhihu.com/people/thankyouxq 注意: PDF版本中存在的部分错误(主要是有错别字),不影响阅读,在知乎版本中已修改。
2022-08-09 09:02:49 10.84MB 其他 计算机原理 cache一致性
1
The advent of multicore processors has renewed interest in the idea of incorporating transactions into the programming model used to write parallel programs.This approach, known as transactional memory, offers an alternative, and hopefully better, way to coordinate concurrent threads. The ACI (atomicity, consistency, isolation) properties of transactions provide a foundation to ensure that con- current reads and writes of shared data do not produce inconsistent or incorrect results. At a higher level, a computation wrapped in a transaction executes atomically - either it completes successfully and commits its result in its entirety or it aborts. In addition, isolation ensures the transaction pro- duces the same result as if no other transactions were executing concurrently. Although transactions are not a parallel programming panacea, they shift much of the burden of synchronizing and co- ordinating parallel computations from a programmer to a compiler, to a language runtime system, or to hardware. The challenge for the system implementers is to build an efficient transactional memory infrastructure. This book presents an overview of the state of the art in the design and implementation of transactional memory systems, as of early spring 2010.
2020-03-04 03:02:45 1.81MB TM 并发 同步 内存一致性
1