Provide names for housekeeping threads for better debugging.

This commit is contained in:
sperber 2002-05-03 13:36:15 +00:00
parent f5d958ac91
commit 2a302178e6
2 changed files with 5 additions and 2 deletions

View File

@ -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)

View File

@ -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))