Posts

synchronizeWithLock

Multithreaded: Summation of a Vector

/
My goal is to sum up all elements of a vector. I used in the last post a single thread. In this post,…
CalculateWithLoop

Single Threaded: Summation of a Vector

/
What is the fastest way to add the elements of a std::vector? This a question that I will pursue in the…
gcc

Thread-Safe Initialization of a Singleton

/
There are a lot of issues with the singleton pattern. I'm aware of that. But the singleton pattern is…