False sharing and stack variables
I have small but frequently used function objects. Each thread gets its own copy. Everything is allocated statically. Copies don't share any global or static data. Do I need to protect this objects from false sharing? Thank you. EDIT: Here is a toy program which uses Boost.Threads. Can false sharing occur for the field data? #include <...