[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyKDE] Still problems (was Re: PyQt 3.12 introduces deadlock
From:       "Truls A. Tangstad" <kerfue+pykde () herocamp ! org>
Date:       2004-08-19 10:41:13
Message-ID: 20040819104113.GA4421 () herocamp ! org
[Download RAW message or body]

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 - <kerfue+pykde@h e r o c a m p.org>

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic