Transactional Memory
Transactional Memory
Posted Jun 4, 2009 5:18 UTC (Thu) by jamesh (guest, #1159)In reply to: Transactional Memory by wahern
Parent article: A look at two new languages: Vala and Clojure
Well Clojure isn't running on a real CPU, so the capabilities of real CPUs are not directly relevant.
The language's home page seems to be saying that STM is the concurrency model provided to programs written in the language (and that those semantics are limited to a single type of variable).
I am sure you are correct that it is implemented via locks internally -- it'd use the primitives provided by the JVM.