2 ms·
Fairly certain STM is implemented with locks, at least weiteSets are.
by kasey_junk 8y ago
Fairly certain STM is implemented with locks, at least weiteSets are.
- quickthrower2 8y agoAh perhaps. It certainly nicer than an explicit locks in "business" code
- kasey_junk 8y agoSure. But in this context I assume the question is about a specific class of algorithm: https://en.m.wikipedia.org/wiki/Non-blocking_algorithm https://en.m.wikipedia.org/wiki/Non-blocking_algorithm Lots of abstractions ‘hide’ the locks from you. Very few are lock free.