all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 02/04: monads, gexp: Prevent redefinition of syntax parameters.
       [not found] ` <20190206220625.8BB03209A7@vcs0.savannah.gnu.org>
@ 2019-02-07  7:50   ` Ricardo Wurmus
  0 siblings, 0 replies; only message in thread
From: Ricardo Wurmus @ 2019-02-07  7:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


guix-commits@gnu.org writes:

> civodul pushed a commit to branch master
> in repository guix.
>
> commit 8245bb74fc7bdcdc2f9d458057cefc9cd982e489
> Author: Ludovic Courtès <ludo@gnu.org>
> Date:   Wed Feb 6 21:58:43 2019 +0100
>
>     monads, gexp: Prevent redefinition of syntax parameters.
>
>     Fixes <https://bugs.gnu.org/27476>.
>
>     This fixes multi-threaded compilation of this code where syntax
>     parameters could end up being redefined and where a race condition could
>     lead a thread to see the "wrong" value of the syntax parameter.
>
>     * guix/monads.scm (define-syntax-parameter-once): New macro.
>     (>>=, return): Use it.
>     * guix/gexp.scm (define-syntax-parameter-once): New macro.
>     (current-imported-modules, current-imported-extensions): Use it.

Oh yeah!

Thank you so much for squashing this bug (and all of those it was merged
with)!

--
Ricardo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-07  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20190206220624.13890.97627@vcs0.savannah.gnu.org>
     [not found] ` <20190206220625.8BB03209A7@vcs0.savannah.gnu.org>
2019-02-07  7:50   ` 02/04: monads, gexp: Prevent redefinition of syntax parameters Ricardo Wurmus

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.