On Thu, Aug 19, 2004 at 11:37:06AM +0100, Phil Thompson wrote:
> On Thursday 19 August 2004 10:22 am, Truls A. Tangstad wrote:
> > When the event thread is busy in QCustomEvents destructor, posting new
> > events, even from QThreads, hangs the entire application. I'm not sure
> > if this is specific to QCustomEvents destructor or that postEvent has
> > greater issues though.
> 
> This *is* a PyQt bug. Change the definition of postEvent() in qapplication.sip 
> to...
> 
> static void postEvent(QObject *,QEvent * /Transfer/) /ReleaseGIL/;
> 
> You may also want to add /ReleaseGIL/ to sendEvent(), sendPostedEvents() and 
> notify() if you use them.
> 
> The fix will be in tonight's snapshot.

Thanks for replying, nice to know not all our bugs are self-inflicted.

-- 
Truls A. Tangstad - <[EMAIL PROTECTED] e r o c a m p.org>

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to