Adds RW Lock to Store.cpp