ayld / multiverse

Automatically exported from code.google.com/p/multiverse
Other
0 stars 0 forks source link

Port Scala "atomic {...}" syntax to use AtomicLogicDonor code instead of AtomicTemplates #173

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
AtomicTemplates are no longer the preferred way to wrap transactions, the 
instrumentation now uses AtomicLogicDonor. Since the "atomic {...}" syntax in 
Scala is essentially nothing but "code-level" instrumentation, it should also 
be changed to use the new style.

Original issue reported on code.google.com by sharedo...@gmail.com on 17 Nov 2009 at 2:18

GoogleCodeExporter commented 8 years ago
Not sure this is really required - the manual.Ref instrumentation also still 
uses the 
AtomicTemplate. Replacing this with donor logic would mean the StmUtils would 
be a lot 
more brittle.

Original comment by sharedo...@gmail.com on 27 Nov 2009 at 12:29