commit | 813f5e681acdc57aec170662ea3c9bd5196e1702 | [log] [tgz] |
---|---|---|
author | Sergey Rogulenko <rogulenko@google.com> | Wed May 13 13:13:53 2015 -0700 |
committer | Sergey Rogulenko <rogulenko@google.com> | Wed May 13 13:14:18 2015 -0700 |
tree | f5a6d3b67924b9e0dee61e2e1ffaeb51c85e21d7 | |
parent | 67e5f7c8645c4983657dabbac61a4e0ef56cba74 [diff] |
store/leveldb: make stream thread-safe Wrappign stream functions with a mutex; making Key and Value always return correct result is Advance returned true. Left a TODO to wrap constructor with a db-scoped mutex. Change-Id: I3355a1d4e50f5b3bc76f8e57b0d20a6398568b89