Not blocking GUI by network worker needing asyncio?

Axel Rau Axel.Rau at chaos1.de
Mon Jul 5 09:39:07 BST 2021


Hi all,

my knowledge who GIT, threads and asyncio playing together is still limited.
I have long running network operations, using the dnspython package, which should not block the GUI.

Now the question: If elapsed time of net work is not an issue, do I need the async version of dnspython and async/qasync in my worker thread (setup per moveToThread and using an QEventLoop)?

Thanks, Axel
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210705/fa879b57/attachment-0001.sig>


More information about the PyQt mailing list