PDA

View Full Version : asynchronous thread.



wookoon
7th July 2010, 03:27
I will do something maybe use asynchronous thread,but I didn't find the QThread has this part.Just QtConcurrentRun introduce a little. Is there more information?

tbscope
7th July 2010, 07:16
Threads are asynchronous by nature. They let you run code separatly from your main thread. You can use events or signals and slots to communicate between threads.

I think you're confused by some functions provided by certain classes. Blocking functions do block till they return. But they have nothing to do with threads. In fact, threads are used to make blocking code more usable.