1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 22:10:21 +02:00
guile/module
Ludovic Courtès 533e3ff170 Serialize accesses to submodule hash tables.
Fixes <https://bugs.gnu.org/30602>.

Previously, when compiling files in parallel like Guix does, threads
would be concurrently inserting, rehashing, and reading the submodule
hash table of module ().  Thus, some threads would sometimes see an
inconsistent state, leading to errors such as:

  Module named (system repl debug) does not exist

* module/ice-9/boot-9.scm (call-with-module-autoload-lock): Move higher
in the file.
(module-name): Use it around call to 'nested-define-module!'.
(resolve-module): Wrap the whole thing in 'call-with-module-autoload-lock'.
2018-07-01 18:37:59 +02:00
..
ice-9 Serialize accesses to submodule hash tables. 2018-07-01 18:37:59 +02:00
language Add copyright header for (language elisp falias), and fix typo. 2018-06-11 10:14:28 -04:00
oop goops: Fix 'instance?' to work on objects that aren't structs. 2018-06-11 10:12:50 -04:00
rnrs Use make-struct/no-tail instead of make-struct 2017-09-20 22:07:18 +02:00
scripts compile: Load language modules upfront. 2017-12-22 17:00:33 +01:00
srfi Add SRFI 71: Extended LET-syntax for multiple values. 2018-06-18 14:14:47 +02:00
sxml Remove duplicate definitions of call/ec' and let/ec'. 2013-04-06 15:40:19 +02:00
system linker: Don't rely on out-of-range bv-ref exceptions. 2018-06-28 17:14:08 +02:00
texinfo texinfo: Remove unnecessary (oop goops) dependency. 2017-03-01 19:28:04 +01:00
web web: Export http-request. 2018-06-23 23:32:13 +02:00
Makefile.am Fix sort, sort! for arrays with nonzero lower bound 2017-10-31 13:23:17 +01:00
rnrs.scm Add R6RS bytevector->string, string->bytevector 2016-06-21 11:29:14 +02:00
statprof.scm Fixed bug: statprof flat display wasn't writing summary lines to port 2017-04-19 16:25:00 +02:00
texinfo.scm texinfo: fix @url{@@} parsing 2014-11-09 15:56:33 +00:00