PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor

Marko Rauhamaa marko at pacujo.net
Fri Dec 12 02:18:47 EST 2014


Michael Torrie <torriem at gmail.com>:

> An asynchronous API lets you start long-running I/O calls and define a
> function that is automatically called upon completion. In other words
> it's event-driven. Qt may provide everything you need already in an
> asynchronous form.

GUI developers have been doing event-driven programming for decades.
That's an excellent preparation for network programming as well.
Unfortunately, the minds of a generation of programmers were
contaminated by the thread craze of the 1990's (Java and Windows NT).


Marko



More information about the Python-list mailing list