[PyQt] QtConcurrent support?

Phil Thompson phil at riverbankcomputing.com
Sun Jan 12 21:40:00 GMT 2014


On 12-01-2014 3:26 am, iMath wrote:
> In these 2 posts
> http://nathanhorne.com/?p=353
> 
> http://www.riverbankcomputing.com/pipermail/pyqt/2011-January/028961.html
>
> says
> "when the threaded code is calling long running c/c++ functions, such
> as a database select, it will release the GIL until the call
> completes. This is all done automatically within python and PyQt. 
> This
> is “real” multithreading."
>
> if he is right(QThread is "real" multithreading in Python),then why
> not add QtConcurrent to PyQt ?

Because its API is very difficult, if not impossible, to wrap.

Phil


More information about the PyQt mailing list