Protect access to the external_snapshot_blob global with a lock.
authorRoss McIlroy <rmcilroy@google.com>
Fri, 13 Feb 2015 10:35:37 +0000 (10:35 +0000)
committerRoss McIlroy <rmcilroy@google.com>
Fri, 13 Feb 2015 10:35:58 +0000 (10:35 +0000)
commit1da1e34788eca083eec26492e16da76f8520eee4
tree86d09eced45b192732861461c5e858e9c6b571e3
parente9fd6b083625c8bc253013dd4eda82be81673204
Protect access to the external_snapshot_blob global with a lock.

The external_snapshot_blob is a global and might be accessed from multiple
threads.  Protect it with a lock.

BUG=457656
LOG=N
R=vogelheim@chromium.org

Review URL: https://codereview.chromium.org/918213002

Cr-Commit-Position: refs/heads/master@{#26638}
src/snapshot-external.cc