Reader small image

You're reading from  Computer Vision with OpenCV 3 and Qt5

Product typeBook
Published inJan 2018
Reading LevelIntermediate
PublisherPackt
ISBN-139781788472395
Edition1st Edition
Languages
Right arrow
Author (1)
Amin Ahmadi Tazehkandi
Amin Ahmadi Tazehkandi
author image
Amin Ahmadi Tazehkandi

Amin Ahmadi Tazehkandi is an Iranian author, developer, and a computer vision expert.Amin Ahmadi Tazehkandi is an Iranian author, developer, and a computer vision expert. He completed his computer software engineering studies in Iran and has worked for numerous software and industrial companies around the world.
Read more about Amin Ahmadi Tazehkandi

Right arrow

Thread synchronization tools


Multithreaded programming usually requires inter-thread conflicts and issues that are simply produced because of parallelism and the fact that the underlying operating system is responsible for taking care of when and how long exactly a thread will run. A powerful framework that offers multithreaded capabilities, such as the Qt framework, must also provide the means to deal with such issues, and fortunately, as we'll learn in this chapter, it does.

In this section, we will learn about possible issues that can arise from multithreading programming and the existing classes in Qt that can be used to take care of those issues. These are called thread synchronization tools in general. Thread synchronization refers to handling and programming threads in such a way that they are aware of the status of other threads using simple and easy-to-use means, and, at the same time, they can continue to fulfill their own specific tasks.

Mutexes

If this and the upcoming sections...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Computer Vision with OpenCV 3 and Qt5
Published in: Jan 2018Publisher: PacktISBN-13: 9781788472395

Author (1)

author image
Amin Ahmadi Tazehkandi

Amin Ahmadi Tazehkandi is an Iranian author, developer, and a computer vision expert.Amin Ahmadi Tazehkandi is an Iranian author, developer, and a computer vision expert. He completed his computer software engineering studies in Iran and has worked for numerous software and industrial companies around the world.
Read more about Amin Ahmadi Tazehkandi