C# Software Transactional Memory

来源:互联网 发布:中国网络另类说唱歌手 编辑:程序博客网 时间:2024/05/21 22:41

Software Transactional Memory (STM) is an API for multithreaded computation in which shared data is synchronized without using locks. Threads synchronize by means of memory transactions, short-lived computations that either commit (take effect) or abort (have no effect). Transactions avoid the well-known problems of locking, including deadlock, priority inversion, and fault-intolerance. The SXM is a software transactional memory package written in C#. It is much easier to use than prior STMs because it uses Reflection.Emit to transparently add synchronization code to sequential data structures.

Download url:ftp://ftp.research.microsoft.com/downloads/6cfc842d-1c16-4739-afaf-edb35f544384/SXM.zip

原创粉丝点击