Skip to content

pk&flatpak: Query appstream pools from a parallel thread

Aleix Pol Gonzalez requested to merge work/apol/threaded-appstream into master

This allows us to:

  • make queries to separate pools in parallel. It happpens in flatpak between sources and also with packagekit.
  • move these CPU intensive tasks out of the main thread, which gets freed to do other interesting stuff like setting up the UI.

We keep the interaction with AbstractResources in the main thread.

@matthiask there is a bug somewhere in glib and will fix it :D It makes it crash at times for some unknown reason deep in appstream.

Edited by Aleix Pol Gonzalez

Merge request reports

Loading