On Sat, Apr 17, 2010 at 07:10, Adrian Buehlmann <adr...@cadifra.com> wrote: > On 16.04.2010 23:58, Adrian Buehlmann wrote: >> On 16.04.2010 23:32, Adrian Buehlmann wrote: >>> Slightly off topic, but Herb Sutter (C++ standard and concurrent >>> programming guru) has a very nice blog entry about concurrent programming: >>> >>> Effective Concurrency: Prefer Futures to Baked-In “Async APIs” >>> >>> http://herbsutter.com/2010/01/17/effective-concurrency-prefer-futures-to-baked-in-async-apis/ >>> >>> A couple of programming libraries and languages have already used that >>> "future" design pattern (Java, upcoming C++0x thread library). >>> >>> Would be nice to find something like a "future" in PyQt as well (if >>> anyone has a pointer, please post!). >> >> Ah! It's there in Qt: http://doc.trolltech.com/4.6/qfuture.html >> >> Hmm. I can't seem to find it in the PyQt reference doc: >> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html > > "The QtConcurrent namespace and the QFuture* classes related to it > appear to be missing" > > http://www.mail-archive.com/p...@riverbankcomputing.com/msg13749.html > > :-/
Thanks for digging concurrent features in PyQt, Adrian. Meanwhile I'll do it with QThread class or others :-) "Future" mechanism is good, no doubt. But if we decide to use it, it's difficult to refer our current GTK+ based implementation of the application base which communicates with Mercurial. It's a bit hard way, probably... :P BTW, does that Phil's email mean PyQt doesn't support QFuture* classes in the future? -- Yuki KODAMA ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Tortoisehg-develop mailing list Tortoisehg-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop