Book Image

SFML Blueprints

Book Image

SFML Blueprints

Overview of this book

Table of Contents (15 chapters)
SFML Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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.