|
|
|
|
|
by Manishearth
4013 days ago
|
|
(It also guarantees happens-before for a given thread, so if a thread changes it from three to 5 and other threads are not changing it back, that thread will never read a 3 again. This also needs some level of synchronization) |
|