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

List:       kde-devel
Subject:    Re: how to keep the eventloop from doing magic things, sigh
From:       David Johnson <david () usermode ! org>
Date:       2009-04-15 3:51:21
Message-ID: 200904142051.21359.david () usermode ! org
[Download RAW message or body]

On Tuesday 14 April 2009 03:53:29 am Thomas Baumgart wrote:
> Quoting http://doc.trolltech.com/4.2/threads.html
>
> ---8<---
> The child of a QObject must always be created in the thread where the
> parent was created. This implies, among other things, that you should never
> pass the QThread object (this) as the parent of an object created in the
> thread (since the QThread object itself was created in another thread).
> ---8<---
>
> At least this made things pretty clear to me. OK, I might have some deeper
> level of experience on multi-tasking/threading problems.

Having taught quite a few Qt programming classes, the above is not at all 
clear to new to Qt or threading.

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