Multithreaded indexing seems not to crash anymore thanks to locked existence map

This commit is contained in:
Jean-Francois Dockes
2012-11-02 21:43:51 +01:00
parent f95434e59a
commit cd53c0a536
6 changed files with 81 additions and 81 deletions
+2 -2
View File
@@ -102,9 +102,9 @@ void returnMimeHandler(Dijon::Filter *handler)
if (once) {
once = 0;
for (it = o_handlers.begin(); it != o_handlers.end(); it++) {
LOGERR(("Cache full key: %s\n", it->first.c_str()));
LOGDEB1(("Cache full. key: %s\n", it->first.c_str()));
}
LOGERR(("Cache LRU size: %u\n", o_hlru.size()));
LOGDEB1(("Cache LRU size: %u\n", o_hlru.size()));
}
if (o_hlru.size() > 0) {
it = o_hlru.back();