From 698cc41db56da83dc65fb15340625d205cba385c Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Thu, 9 Apr 2015 19:09:39 +0200 Subject: [PATCH] TODOs --- CachingStore.h | 1 + 1 file changed, 1 insertion(+) diff --git a/CachingStore.h b/CachingStore.h index bfaeae87..b928de10 100644 --- a/CachingStore.h +++ b/CachingStore.h @@ -111,6 +111,7 @@ std::unique_ptr CachingStore std::unique_ptr CachingStore::load(const Key &key) { + //TODO This lock doesn't allow loading different blocks in parallel. Can we do something with futures maybe? std::lock_guard lock(_mutex); auto found = _openResources.find(key); if (found == _openResources.end()) {