Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] New PROPERTIES="live-sources" setting for ebuilds?
Date: Wed, 06 Aug 2008 06:00:18
Message-Id: 20080806070009.366f0d07@snowcone
In Reply to: Re: [gentoo-dev] [RFC] New PROPERTIES="live-sources" setting for ebuilds? by Zac Medico
1 On Tue, 05 Aug 2008 22:55:06 -0700
2 Zac Medico <zmedico@g.o> wrote:
3 > Would having the ebuild perform locking be unportable or introduce
4 > any undesirable complexity? Does it really need to be so
5 > fine-grained?
6
7 It's not particularly tricky, and the lock code can be moved into an
8 eclass if necessary. And the gain is worth it -- scm fetches can be
9 slow, so parallelising fetches from different hosts will speed things
10 up quite a bit.
11
12 > I don't see flock listed in the spec here [1].
13
14 If any platform doesn't have flock, there're various other ways of
15 doing locking using mkdir and either a fifo or just plain old sleep.
16
17 --
18 Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies