2 ms·
Yes, you kind of do need the read barrier, otherwise you get exactly the problem I described with the stale cache. You can't "kinda" have synchronization just
by asveikau 11y ago
Yes, you kind of do need the read barrier, otherwise you get exactly the problem I described with the stale cache.
You can't "kinda" have synchronization just as a design for a mutex can't be a "kinda" lock... You may get away with it for a while, but like I said, playing with fire.