[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#20272: Support reproducible builds
From: |
Ludovic Courtès |
Subject: |
bug#20272: Support reproducible builds |
Date: |
Sun, 05 Mar 2017 21:49:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Hi!
Andy Wingo <address@hidden> skribis:
> On Thu 22 Dec 2016 00:53, address@hidden (Ludovic Courtès) writes:
>
>> +(define (module-generate-unique-id! m)
>> + (let ((i (module-next-unique-id m)))
>> + (set-module-next-unique-id! m (+ i 1))
>> + i))
>
> This introduces a race condition when expanding from multiple threads at
> once. Any plan here?
Good point! We could grab a per-module mutex for that, though that’s
again a fat mutex.
Thoughts?
Ludo’.
- bug#20272: Support reproducible builds,
Ludovic Courtès <=