develooper Front page | perl.perl5.porters | Postings from September 2014

[perl #121600] atomic replacement in lib/ during build

Thread Previous
From:
James E Keenan via RT
Date:
September 24, 2014 01:04
Subject:
[perl #121600] atomic replacement in lib/ during build
Message ID:
rt-4.0.18-2994-1411520642-1075.121600-15-0@perl.org
On Tue Apr 08 05:23:04 2014, zefram@fysh.org wrote:
> 
> This is a bug report for perl from zefram@fysh.org,
> generated with the help of perlbug 1.39 running under perl 5.14.2.
> 
> 
> -----------------------------------------------------------------
> [Please describe your issue here]
> 
> During build, we put lib/ at the end of @INC, to avoid parallel builds
> seeing incomplete versions of Perl modules, as modules get installed
> there non-atomically.  To make parallel builds work more cleanly, we
> should arrange for installations of modules into lib/ to be atomic, by
> means of non-atomically writing a file under a modified name and then
> atomically renaming the complete file to its permanent name.  I
> believe
> this is possible on all platforms.  If we do this, it will be safe to
> put
> lib/ first thing in @INC, gaining a small speedup because most modules
> are in fact found there.
> 

This Apri 2014 motion for a revision in a procedure has not yet received a second.

Would anyone want to speak on its behalf?  Or against it?

Thank you very much.

-- 
James E Keenan (jkeenan@cpan.org)

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=121600

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About