O'Reilly logo

Foundations of Qt Development by Johan Thelin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 12Doing Things in Parallel

When writing software, you often get to a point where a large chunk of work has to be performed. If the writing is in a graphical application, the graphical user interface can sometimes freeze. Fortunately, it can be avoided when you use threading.

Each application usually runs as a process. In most modern operating systems, several applications can run at once, meaning that several tasks are being performed in parallel. The processes are separated and are not concerned with each other.

Inside each process there can be one or more threads running. These threads share resources and memory and need to be aware of each other. They can also collaborate on tasks, splitting heavy works among them. This also helps ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required