opensubscriber
   Find in this group all groups
 
Unknown more information…

m : mit-scheme-devel@gnu.org 21 September 2011 • 2:45AM -0400

Re: [MIT-Scheme-devel] Cleaning weak hash tables in secondary GC daemon?
by Taylor R Campbell

REPLY TO AUTHOR
 
REPLY TO GROUP




   Date: Mon, 19 Sep 2011 10:18:02 -0700
   From: Matt Birkholz <matt@birk...>

   Let's make with the semaphores already!  I think SOME hash table
   lookeruppers (and rehashinators) should grab the table's (new)
   semaphore before traipsing through its buckets...

That would make the hash table abstraction substantially more complex
and harder to understand, probably harm the performance that is the
sole reason to use hash tables instead of other data structures, and,
if you're not extremely careful with the engineering, make the whole
system very easily deadlock-prone.

_______________________________________________
MIT-Scheme-devel mailing list
MIT-Scheme-devel@gnu....
https://lists.gnu.org/mailman/listinfo/mit-scheme-devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.