[PyKDE] Re: QDrag.start, Py_BEGIN_ALLOW_THREADS

Patrick Stinson patrickkidd.lists at gmail.com
Thu May 18 20:34:25 BST 2006


Rarely is staring at a screen all night a fruitful endeavour, but last
night was an exception. I Recalled something about always releasing
the GIL in sip-3, and found the -g command line option for sip 4. I
added it to qt_sip_args and it worked.

What comments do you have on PyQt4's configure.py and extra sip
options like this one, and on the performance hit gui apps may take
from adding this option?

cheers

On 5/18/06, Patrick Stinson <patrickkidd.lists at gmail.com> wrote:
> Phil,
>
> I'm not sure what the implications of this are, but I'm assuming with
> great sorrow that there is no way to safely release the GIL while
> dragging? I've got threads that need to continue to run while a call
> to QDrag.start is waiting to return, and I'm afraid this is a
> show-stopper for my app.
>
> Suggestions?
>
> --
> Patrick Kidd Stinson
> http://www.patrickkidd.com/
> http://pkaudio.sourceforge.net/
> http://pksampler.sourceforge.net/
>


-- 
Patrick Kidd Stinson
http://www.patrickkidd.com/
http://pkaudio.sourceforge.net/
http://pksampler.sourceforge.net/




More information about the PyQt mailing list