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

List:       kde-hardware-devel
Subject:    Re: [Kde-hardware-devel] multithreading restrictions?
From:       Kevin Ottens <ervin () kde ! org>
Date:       2008-02-10 17:36:27
Message-ID: 200802101836.28046.ervin () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Le Sunday 18 November 2007, Marcel Wiesweg a écrit :
> I have a bit more for you:
> For testing, I have added this call to the UI thread, before the worker
> thread starts.
>
> >From the worker thread, when the call is executed again, I then get about
> > 8 of
>
> these error messages:
>
> QObject: Cannot create children for a parent that is in a different thread.
> (Parent is Solid::Backends::Hal::HalDevice(0x83f4f88), parent's thread is
> QThread(0x82e33f8), current thread is Digikam::ScanController(0x83ddbc0)

Once again, would you mind making a test case for this?

I can't seem to reproduce your issues.

Now just curious, why do you use a thread in the first place? If that's only 
for a call to Device::list* that looks like overkill.

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."


["signature.asc" (application/pgp-signature)]

_______________________________________________
Kde-hardware-devel mailing list
Kde-hardware-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-hardware-devel


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

Configure | About | News | Add a list | Sponsored by KoreLogic