Somasegar has announced the availability of .NET Framework 4 Beta 1 Enabled to use Software Transactional Memory v1.0, or in short STM.NET. This is an experimental version of .NET that enables software transactional memory for C# programming. It allows programmers to demarcate regions of code as operating in an atomic, isolated transaction from other code running concurently. The way to do this is with a delegate called Atomic.Do, or with a try/catch mechanism.
This experimental framework also comes with functionality like:
- tooling (debugging, ETW tracing)
- lock interoperability
- interoperability with traditional transactions
- annotations (how methods run in transactions, suppressed transactions on methods, etc.)
- static and dynamic checking of annotations
The limitations so far are that it is only supported for C#, works only with Visual Studio 2008, it doesn't work on a machine with Visual Studio 2010 beta 1 and there only a 32-bit version.
You can read more about it at:
| < Prev | Next > |
|---|





