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
5 files changed
tree: f5a6d3b67924b9e0dee61e2e1ffaeb51c85e21d7
  1. v23/
  2. x/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. VERSION