@blockheadjr I think priority settings works only for non-multiprocessor system. This settings must show how many ticks of processer can any of process have. For multiprocessor system threads can work indepence if they placed on a different core
Something I noticed in your example, and when I repeat the exercise at my desktop: Essentially the priority option really isn't effective. In your last example, with thread 3 finishing last (in accordance with priority), I noticed as you scrolled up that thread 1 (highest priority) did not finish before thread 2 (at 2:34 in the video). When I ran the same test, the thread with the highest priority completed last. Any insight into why that is?
@iRouRoui Thanks, and really it depends on the amount of traffic and how the game is designed....but from my use with Qt I think it is as capable if not MORE then other frameworks
"Gonna take a LONG time". Sorry, that's completely wrong, lower priority doesn't slow it down. A naive person watching your video will try to make their program "fast" by using all highest priority.
I like your tutorials very much. They are short and to the point. I have been following all of them. It really helped to improve my QT understanding.
Yup...Really good tutorials mate... Learned Qthreads so easily with this series... Thanks a lot for sharing..
Thank you very much, I couldn't fully grasp the concept of Threads until I saw your video :)
TKS bro,love your tutorial that quiet easy to understand.
@blockheadjr I think priority settings works only for non-multiprocessor system. This settings must show how many ticks of processer can any of process have.
For multiprocessor system threads can work indepence if they placed on a different core
Great Tutorial, thanks for making it.
Something I noticed in your example, and when I repeat the exercise at my desktop: Essentially the priority option really isn't effective. In your last example, with thread 3 finishing last (in accordance with priority), I noticed as you scrolled up that thread 1 (highest priority) did not finish before thread 2 (at 2:34 in the video). When I ran the same test, the thread with the highest priority completed last. Any insight into why that is?
@iRouRoui Thanks, and really it depends on the amount of traffic and how the game is designed....but from my use with Qt I think it is as capable if not MORE then other frameworks
Thanks man!!
Will setting the thread priority on a cpu heavy process to highest affect form responsiveness?
thx alot , you are my hero .. >,
In my case thread 1 comes at last though I have set thread 1 Highest Priority
QThread could replace a simple event timer ? Thanks. 8=\ . .
"Gonna take a LONG time". Sorry, that's completely wrong, lower priority doesn't slow it down. A naive person watching your video will try to make their program "fast" by using all highest priority.