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

List:       kde-devel
Subject:    Re: Execution replay for Qt/KDE applications
From:       David Faure <faure () kde ! org>
Date:       2004-10-21 19:43:53
Message-ID: 200410212143.55441.faure () kde ! org
[Download RAW message or body]

On Thursday 21 October 2004 21:39, Oliver Oppitz wrote:
> On 21 Oct 2004 09:19:46 -0000, <kde-devel-request@mail.kde.org> wrote:
> 
> >> To guarantee an identical replay one needs reconstruct the exact call
> >> graph i.e. insert the invents in the same invocation of the event loop.
> > That's only one solution to the problem (which would involve some kind
> > of valgrind integration - a rather complex and non-portable solution...).
> I do not see any need for valdgrind. There is another (conceptually)  
> simple solution. Assuming the much simplified event loop looks as follows:
> 
> void EventLoop() {
>    for(;;) {
>       QEvent* event;
>       while((event=getEvent())!=NULL) {
> 	  handleEvent(event);
>       }
>       doOtherThings();
>     }
> }

There is no such doOtherThings() thing in the Qt event loop.
The event loop waits for events.

-- 
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