<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Jeremy Katz wrote:
<blockquote cite="mid:1185547210.15991.27.camel@localhost.localdomain"
 type="cite">
  <pre wrap="">On Fri, 2007-07-27 at 12:43 +0200, dragoran wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Richard Hughes wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">I've blogged about package management in Fedora (and how it sucks in
other distros too) and also discussed abstract per-system package
management over DBUS interfaces.

I would appreciate feedback on
<a class="moz-txt-link-freetext" href="http://hughsient.livejournal.com/31429.html">http://hughsient.livejournal.com/31429.html</a> 
      </pre>
    </blockquote>
    <pre wrap="">"Do we have to make the API asynchronous?"
YES!!!
the best way to fix the progressbar hangs is multithreading.
let the gui draw its stuff, while a background thread does the real work.
yumex afaik works this way.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Unfortunately, introducing threading into an environment (rpm + sqlite)
which wasn't designed with threading in mind is a recipe for lots of ...
interesting problems.

Jeremy

  </pre>
</blockquote>
Yes, running yum actions in a background tread was a world of pain, so
i have reversed the process and running the yum actions in the
foreground and having a background thread refresh the gui.<br>
<br>
Tim<br>
</body>
</html>