mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Taylor R Campbell
Subject: Re: [MIT-Scheme-devel] Cleaning weak hash tables in secondary GC daemon?
Date: Tue, 20 Sep 2011 18:45:34 +0000
User-agent: IMAIL/1.21; Edwin/3.116; MIT-Scheme/9.1

   Date: Mon, 19 Sep 2011 10:18:02 -0700
   From: Matt Birkholz <address@hidden>

   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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]