By alarmnummer
via pveentjer.wordpress.com
Published: Oct 01 2008 / 21:26
This blogpost shows an example of how a blocking stack/queue can be implemented for an STM. So instead of relying on locking/condition-variables etc, the STM makes sure that the concurrency issues are resolved. STM's are not much different than database transactions and I think it could be the future of Java. When we get up to the 50/100 cores.. concurrency is going to be in our face and the current approaches are just too complex.
Add your comment