Thursday, July 30, 2009

InfoQ: .NET 4 Beta 1 Now Supports Software Transactional Memory

Shared by Madhu


STM is an alternative mechanism to lock-based synchronization used to control the concurrent access to shared memory.
Software Transactional Memory (STM.NET) is a mechanism for efficient isolation of shared state. The programmer demarcates a region of code as operating within a transaction that is “atomic” and “isolated” from other transacted code running concurrently.
The goal is to be able to exploit concurrency by using components written by experts and consumed by application programmers who can then compose together these components using STM.

Microsoft has released a new version of .NET 4.0 Beta 1, one that incorporates STM.NET, the Software Transactional Memory. STM is an alternative mechanism to lock-based synchronization used to control the concurrent access to shared memory.

No comments:

Post a Comment