[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MIT-Scheme-devel] hash-table/modify!
From: |
Taylor R Campbell |
Subject: |
[MIT-Scheme-devel] hash-table/modify! |
Date: |
Sun, 20 Dec 2009 01:49:39 -0500 |
User-agent: |
IMAIL/1.21; Edwin/3.116; MIT-Scheme/7.7.90.+ |
(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] hash-table/modify!,
Taylor R Campbell <=