Chapter 6. Boost Your Code Using Multithreading
In this chapter, we will gain skills about:
- How to run multiple parts of your program in parallel
- How to protect memory access to avoid data race
- How to incorporate those functionalities into Gravitris
At the end of this chapter, you will be able to use all the power offered by the CPU of the computer, by paralyzing your code in a smart way. But first, let's describe the theory.