[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: branches/work/kviewshell-0.7/kviewshell/plugins [POSSIBLY UNSAFE]
From: Wilfried Huss <Wilfried.Huss () gmx ! at>
Date: 2006-05-28 10:41:04
Message-ID: 200605281241.04245.Wilfried.Huss () gmx ! at
[Download RAW message or body]
Am Sonntag, 28. Mai 2006 11:49 schrieb Thiago Macieira:
> Wilfried Huss wrote:
> >One sometimes gets a "Xlib: unexpected async reply (sequence 0x8c56)!"
> >message, and then the GUI freezes. This doesn't happen in trunk with
> >Qt4/KDE4.
>
> This means you're doing GUI stuff from outside the GUI thread.
Yes I know, I just don't know where I do GUI stuff.
Does KProcIO make some xlib calls? Because other that that I only use
QImage, QByteArray, KTempFile, QString, QStringList, QFile, QFileInfo
and QDataStream.
> Remember that you are not allowed to use QObject objects outside the
> GUI thread either in Qt 3!
Why? From the Qt3 docs: "The QObject class itself is reentrant. However, certain
rules apply when creating and using QObjects in a thread that is not the GUI thread."
Or: "The Signals and Slots mechanism can be used in separate threads, ...".
Greetings,
Wilfried Huss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic