I have experience with multi-threaded Linux programming (C / C ++ and POSIX threads), however the most obvious cases are sometimes very complicated.
I have several constant constant variables (global and local functions) in my code, can I access them simultaneously from several threads without using mutexes? Since I do not change them, this should be good, but it is always better to ask.
I need to do speed optimization, so even fast operations, such as locking / unlocking mutexes, are quite expensive for me, especially because my application will access these form variables with long cycles.
Goofy source
share