STM is which kind of concurrency?

Hello,

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

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

Thanks.

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.