4 ms·
No. False sharing can happen even with only 1 writer.
by nh2 3mo ago
No. False sharing can happen even with only 1 writer.
- wongarsu 3mo agoGP's claim does not require two writers for false sharing. It requires two threads with either read or write access, at least of which is writing The valid criticism is that message passing also fits that definition. But assuming good faith, the implied argument seems to be "use an off-the-shelf message passing solution that already solves all this, rather than rolling your application-specific data sharing"