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

List:       kde-hardware-devel
Subject:    [Kde-hardware-devel] multithreading restrictions?
From:       Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date:       2007-11-17 16:26:40
Message-ID: 200711171726.41176.marcel.wiesweg () gmx ! de
[Download RAW message or body]

Hi,

I have lately been observing a problem with Solid:
I have moved tasks to a thread, and this includes calls to Solid.
The main thread is suspended in an event loop.
A call to Solid::Device::listFromType then causes a "pause" in the thread, it 
hangs for a few seconds and then continues successfully. This is not always 
reproducible, though the other cases might involve a shorter, not 
subjectively noticable "pause".

My question is: Is this a bug, or are there restrictions on calling Solid 
methods from a non-UI thread?
Note that this is typically the first call to Solid; it seems that subsequent 
calls operating on objects from the retrieved list work without problem.

Thanks
Marcel
_______________________________________________
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