Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Ciaran McCreesh <ciaran.mccreesh@...>
Subject: Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Date: Wed, 6 Aug 2008 07:00:09 +0100
On Tue, 05 Aug 2008 22:55:06 -0700
Zac Medico <zmedico@g.o> wrote:
> Would having the ebuild perform locking be unportable or introduce
> any undesirable complexity? Does it really need to be so
> fine-grained?

It's not particularly tricky, and the lock code can be moved into an
eclass if necessary. And the gain is worth it -- scm fetches can be
slow, so parallelising fetches from different hosts will speed things
up quite a bit.

> I don't see flock listed in the spec here [1].

If any platform doesn't have flock, there're various other ways of
doing locking using mkdir and either a fifo or just plain old sleep.

-- 
Ciaran McCreesh
Attachment:
signature.asc (PGP signature)
Replies:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Zac Medico
References:
[RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Zac Medico
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Ciaran McCreesh
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
-- Zac Medico
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Next by thread:
Re: [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Previous by date:
Re: [RFC] New PROPERTIES=virtual value to identify meta-packages?
Next by date:
Re: [RFC] New PROPERTIES=virtual value to identify meta-packages?


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.