On Tue, 05 Aug 2008 22:55:06 -0700 Zac Medico <[EMAIL PROTECTED]> 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
signature.asc
Description: PGP signature