Why does yum always need a global lock?
seth vidal
skvidal at fedoraproject.org
Wed Oct 22 18:02:41 UTC 2008
On Wed, 2008-10-22 at 17:47 +0200, Christoph Höger wrote:
> ok, that sounds like some motivation for me do to it.
>
> I've had a quick look over the source code and could not yet figure out,
> which functions really modify stuff in /var/cache/yum, but at a first
> glance it seem to be a few. You do not have a list of them flying
> around, don't you? ;)
>
> My approach would be to create a decorator (called @needslock or
> something) and add it to every function that needs it. That decorator
> would look like the one in the attachment.
> Is that the yum-way fo doing it?
>
If you want to talk about this more - please join
yum-devel at lists.baseurl.org
fedora-devel is the wrong list for it.
thanks,
-sv
More information about the fedora-devel-list
mailing list