From: Matt Birkholz Date: Fri, 16 Nov 2018 02:09:36 +0000 (-0700) Subject: runtime/gcdemn: Update daemon descriptions. X-Git-Tag: mit-scheme-pucked-10.1.2~16^2~63 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=65c74c1974c279d2620acf85a7685b52071352a4;p=mit-scheme.git runtime/gcdemn: Update daemon descriptions. --- diff --git a/src/runtime/gcdemn.scm b/src/runtime/gcdemn.scm index cdf85faa2..ef753b848 100644 --- a/src/runtime/gcdemn.scm +++ b/src/runtime/gcdemn.scm @@ -58,9 +58,10 @@ USA. ;;; GC-DAEMONS are executed after each GC from an interrupt handler. ;;; This interrupt handler has lower priority than the GC interrupt, -;;; which guarantees that these daemons will not be run inside of -;;; critical sections. As a result, the daemons may allocate storage -;;; and use most of the runtime facilities. +;;; which allows these daemons to allocate storage and use most of the +;;; runtime facilities. The interrupt handler runs in the thread that +;;; trapped, or in no thread if the thread system trapped. Other +;;; threads will resume running while this interrupt is serviced. (define gc-daemons) (define trigger-gc-daemons!) (define add-gc-daemon!) @@ -71,8 +72,8 @@ USA. (if (not (*within-restore-window?*)) (daemon))))) -;;; SECONDARY-GC-DAEMONS are executed rarely. Their purpose is to -;;; reclaim storage that is either unlikely to be reclaimed or +;;; SECONDARY-GC-DAEMONS must be triggered explicitly. Their purpose +;;; is to reclaim storage that is either unlikely to be reclaimed or ;;; expensive to reclaim. (define secondary-gc-daemons) (define trigger-secondary-gc-daemons!)