Update Cache to use C++11 multithreading primitives.