Colm MacCarthaigh wrote:
Do you mean as in using MAP_SHARED? I could see that being a race-condition nightmare. For example cache_info_t's pointers to the header tables would have to be local to the process, but the memory for the cache_info_t itself wouldn't be. Definitely to be avoided!
True. your comment about regular mmap are also true -- it would be interesting to test.
-- Brian Akins Lead Systems Engineer CNN Internet Technologies