fallshuang 发表于 2013-06-25 05:01

并发环境下真正的无锁编程:Software transactional memory

本帖最后由 fallshuang 于 2013-06-25 05:15 编辑


http://en.wikipedia.org/wiki/Software_transactional_memory


In computer science, software transactional memory (STM) is a concurrency control mechanism analogous to database transactions for controlling access to shared memory in concurrent computing. It is an alternative to lock-based synchronization. A transaction in this context is a piece of code that executes a series of reads and writes to shared memory. These reads and writes logically occur at a single instance in time; intermediate states are not visible to other (successful) transactions. The idea of providing hardware support for transactions originated in a 1986 paper by Tom Knight. The idea was popularized by Maurice Herlihy and J. Eliot B. Moss. In 1995 Nir Shavit and Dan Touitou extended this idea to software-only transactional memory (STM). STM has recently been the focus of intense research and support for practical implementations is growing.

float001 发表于 2013-06-26 12:23

mark去学习一下ths
页: [1]
查看完整版本: 并发环境下真正的无锁编程:Software transactional memory