[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: ThreadWeaver and asyncronous operations
From: David Faure <faure () kde ! org>
Date: 2007-03-28 8:14:38
Message-ID: 200703281014.39224.faure () kde ! org
[Download RAW message or body]
On Wednesday 28 March 2007, Paulo Moura Guedes wrote:
> On Wednesday 28 March 2007 01:29, Paulo Moura Guedes wrote:
> > The only problem I noticed is that if the AsyncObject internals use timers,
> > for example, I get the "QObject::startTimer: timers cannot be started from
> > another thread" message.
> > I don't understand this however, because the timers are ran in the same
> > thread as the AsyncObject.
>
> BTW, this also happens if I just use QThread :/
Make sure to also _create_ the QTimer in the thread and not in the QThread constructor
(which runs in the calling thread).
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic