|
|
|
|
|
by ajross
4862 days ago
|
|
Hm... (c) needs a little qualification. Certainly in a multithreaded environment it's possible to end up in a cache contention situation accidentally, simply because you or the compiler happened to put two "write often from a single thread" values in the same cache line. Think of things like global/singleton objects which doesn't really need to be shared but are. A multiprocess design that limited shared memory to stuff that's truly shared won't have that pitfall. |
|
Cache conflicts happen between processes in the same way, and for the same reasons, and just as often, as they do between threads.