1 comment

[ 2.7 ms ] story [ 3.6 ms ] thread
Love STM. I use it whenever I can.

It's the poster-child for the XY-problem. Whatever problem caused you to mess around with locks and synchronised blocks, is probably a problem that you wanted to solve with transactions.