Added thread safety for lru cache
Added thread safety for lru cache

Change-Id: Ide0d32152f2fd583392b7b2fb27176cadfd82c60

zhanshenman/TheiaSfM,zhanshenman/TheiaSfM,zhanshenman/TheiaSfM,zhanshenman/TheiaSfM,zhanshenman/TheiaSfM