Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: PyQt: user interface freezed when using concurrent.futures.ThreadPoolExecutor Date: Fri, 12 Dec 2014 09:18:47 +0200 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87mw6tgwtk.fsf@elektro.pacujo.net> References: <7e85a815-fd77-417a-9a5c-20537a83afcf@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="ff5cf27ef3d5b31f034d3b72bdc27a41"; logging-data="12359"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+TeWdBTYLkCUe2c/FITK55" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:un0bohEEYWLGBlkdkUOOwePttgo= sha1:Qge2Mby/W10BlCTlY1Rhrx5YDhU= Xref: csiph.com comp.lang.python:82416 Michael Torrie : > 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