> This implements a hash table using shared memory. > Limitations: > * doesn't have a freelist, so deletes aren't reclaimed > * and can't expand it's size (dont know how to implement this with > current shared memory system)
To the best of my knowledge, you cannot expand a shared memory segment (after fork) and ensure that all processes use the exact same addresses to access that memory. If one of your processes increases the size of the hash table, you have forever screwed up the hash table for all the other processes because you now have addresses in the table that may point to completely different storage in all the other processes. Bill
