projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e277b61
)
Remove without-interrupts from runtime/string.scm.
author
Matt Birkholz
<puck@birchwood-abbey.net>
Wed, 17 Jun 2015 02:21:46 +0000
(19:21 -0700)
committer
Matt Birkholz
<puck@birchwood-abbey.net>
Mon, 6 Jul 2015 05:45:44 +0000
(22:45 -0700)
It was only used to postpone aborts that would drop an external string
descriptor. The interrupt mask manipulation in %string-head! only
postpones a GC flip while the local heap is edited.
src/runtime/string.scm
patch
|
blob
|
history
diff --git
a/src/runtime/string.scm
b/src/runtime/string.scm
index bd9e2cba72353eda36b78293ed25fc8fba4860ee..365c2cd8c8a0dcbcf3351147cf9bae52dcdf397b 100644
(file)
--- a/
src/runtime/string.scm
+++ b/
src/runtime/string.scm
@@
-1612,7
+1612,7
@@
USA.
(length #f read-only #t))
(define (allocate-external-string n-bytes)
- (without-interrupt
s
+ (without-interrupt
ion
(lambda ()
(add-to-gc-finalizer!
external-strings