Provide names for housekeeping threads for better debugging.
This commit is contained in:
parent
f5d958ac91
commit
2a302178e6
|
@ -89,7 +89,8 @@
|
||||||
(lambda ()
|
(lambda ()
|
||||||
((session-data-ref space-shortage-handler)
|
((session-data-ref space-shortage-handler)
|
||||||
(session-data-ref required-post-gc-space)
|
(session-data-ref required-post-gc-space)
|
||||||
space)))))
|
space))
|
||||||
|
'space-shortage-handler)))
|
||||||
(spawn-on-root
|
(spawn-on-root
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(for-each (lambda (p)
|
(for-each (lambda (p)
|
||||||
|
|
|
@ -142,7 +142,9 @@
|
||||||
(cond ((null? thunks)
|
(cond ((null? thunks)
|
||||||
#f)
|
#f)
|
||||||
(else
|
(else
|
||||||
(for-each spawn-on-root thunks)
|
(for-each (lambda (thunk)
|
||||||
|
(spawn-on-root thunk 'output-forcer))
|
||||||
|
thunks)
|
||||||
#t))))
|
#t))))
|
||||||
|
|
||||||
(define unspecific (structure-ref primitives unspecific))
|
(define unspecific (structure-ref primitives unspecific))
|
||||||
|
|
Loading…
Reference in New Issue