HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b69f6a
)
comment on scm_pre_modules_obarray re threadsafety
author
Andy Wingo
<wingo@pobox.com>
Thu, 10 Feb 2011 20:19:33 +0000
(21:19 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Thu, 10 Feb 2011 22:16:51 +0000
(23:16 +0100)
* libguile/modules.c (scm_pre_modules_obarray): Add comment to the
effect that this global variable does not need a lock around it.
libguile/modules.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/modules.c
b/libguile/modules.c
index
c4e08e5
..
40f9c84
100644
(file)
--- a/
libguile/modules.c
+++ b/
libguile/modules.c
@@
-326,6
+326,8
@@
resolve_duplicate_binding (SCM module, SCM sym,
return result;
}
+/* No lock is needed for access to this variable, as there are no
+ threads before modules are booted. */
SCM scm_pre_modules_obarray;
/* Lookup SYM as an imported variable of MODULE. */