Discussion on answer by Serge3leo: Как работает увеличение счетчика в Java без использования блокировок, volatile и synchronized, в двух потоках

Discussion on answer by Serge3leo: Ка

Imported from a comment discussion on https://ru.stackoverflow.com/questions/1606602/%d0%9a%d0%b0%d0%ba-%d1%80%d0%b0%d0%b1%d0%be%d1%82%d0%b0%d0%b5%d1%82-%d1%83%d0%b2%d0%b5%d0%bb%d0%b8%d1%87%d0%b5%d0%bd%d0%b8%d0%b5-%d1%81%d1%87%d0%b5%d1%82%d1%87%d0%b8%d0%ba%d0%b0-%d0%b2-java-%d0%b1%d0%b5%d0%b7-%d0%b8%d1%81%d0%bf%d0%be%d0%bb%d1%8c%d0%b7%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d0%b1%d0%bb%d0%be%d0%ba%d0%b8%d1%80%d0%be%d0%b2%d0%be%d0%ba-volatile-%d0%b8/1607051#1607051
2d ago – Serge3leo
20
2
Public: anyone may enter and talk

Explicit write access

Even when this room is read-only or their reputation is too low, these users will be able to talk in this room. Users with insufficient reputation to chat have been granted write access to this room by a chat moderator.