STM is which kind of concurrency?


The Erlang guy Joe Armstrong said: Basically there are two models of concurrency. Shared state concurrency, and Message passing concurrency. (from Dr. Dobbs article )

Which of those two models of concurrency does STM, software transactional memory, fit into?


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Shared state, if you must.

Shared state, if you must. STM is explicitly about the manipulation of shared, mutable memory locations (which just happen to be transactional).

OK thanks.

OK thanks.