[packagekit] Run pkclient action from thread
hughsient at gmail.com
Fri Apr 16 08:17:42 PDT 2010
On 16 April 2010 15:07, Matthias Klumpp <matthias at nlinux.org> wrote:
> Is it possible to run a pkclient action like pk_client_search_files_async()
> from a separate thread?
Yes, it's entirely possible but due to the non-threadsafe nature of
dbus-glib it isn't not really supported. Are you sure the the thread
isn't blocking? Of course, when we switch to GDBus (which is
threadsafe) then problems like this go away.
Could I ask why you're trying to run it in a thread rather than just
in an idle callback?
More information about the PackageKit