[PyKDE] Still problems (was Re: PyQt 3.12 introduces deadlock
with QCustomEvent's destructor.)
Truls A. Tangstad
kerfue+pykde at herocamp.org
Thu Aug 19 11:41:13 BST 2004
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 at h e r o c a m p.org>
More information about the PyQt
mailing list