Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5157

Camera board • Re: raw .dng video and Pyqt5 ThreadPoolExecutor/QThreadPool?

$
0
0
I'm bringing this post up because I saw that Therealdavidp was around... :oops:
Hi, yes I saw this message but didn't reply because I'm sure there are folks out there who know way more about Qt than I do! (TBH, it's a low bar...)

So far as I understand things, the QThreadPool provides very similar functionality, but of course integrates more nicely if you want to pass data or messages back into your main Qt thread. Though if you simply have a "start" button which launches loads of threads, and a "stop" button which waits for your thread pool to finish, then I guess I don't see a great deal of benefit (so long as waiting for everything to finish doesn't take forever and lock up your GUI in the meantime). Sorry not to be more help - I'm still hoping there might be some "real" Qt programmers out there!!

Statistics: Posted by therealdavidp — Wed Apr 03, 2024 8:30 am



Viewing all articles
Browse latest Browse all 5157

Trending Articles