1 comment

[ 2.5 ms ] story [ 10.3 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.