On Tue, Sep 20, 2005 at 12:37:27PM -0500, Paul Varner wrote: > On Fri, 2005-09-16 at 11:59 -0500, Paul Varner wrote: > > http://bugs.gentoo.org/show_bug.cgi?id=90680 > > > > Author: Paul Varner > > > > The current implementation of gentoolkit creates a portage.config object > > for every package object that it creates. While this is the correct > > thing to do from an object-oriented programming point of view, this > > implementation consumes an excessive amount of memory and CPU. The > > proposed patch changes the portage.config object for each package object > > to point to a single global object. > > > > Updated patch to add a semaphore to control access to the global > portage.config object. Unless anyone sees any other issues with this > patch, I will be placing it into gentoolkit. Reason for a semaphore over threading.Lock ? ~harring
pgpmp2V7TRpXm.pgp
Description: PGP signature