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