Qt slot machine program

broken image
broken image

Nine times out of ten, a quick inspection of their code shows that the biggest problem is the very fact they're using threads in the first place, and they're falling in one of the endless pitfalls of parallel programming. One of the most popular topics on the '#qt IRC channel': irc:///#qt is threading: many people join the channel and ask how they should solve their problem with some code running in a different thread.

broken image

5.3 When you don't want to be possibly blocked by others.5.2 When you want to scale with the number of CPUs.5.1 When you have to use a blocking API.2.1 What requires a running event loop?.

broken image