(HASH-TABLE/MODIFY! <hash-table> <key> <modifier> [<default>]) may call <modifier> with interrupts blocked, or with the same mask as in the caller of HASH-TABLE/MODIFY!. I can't think of any reason to block interrupts during the call to <modifier>, and it seems confusing to me to call it in one of two very different states; does it seem sensible to pull the call to it outside WITH-TABLE-LOCKED! in the body of MAKE-METHOD:MODIFY!'s lambda in hashtb.scm? And if we made that change, would it b necessary to lock the table at all (i.e., to block interrupts) for the single write that SET-ENTRY-DATUM! incurs?
_______________________________________________ MIT-Scheme-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/mit-scheme-devel
