Browse Source
For leveldb "An iterator operates on a snapshot of the database taken when the iterator is created". This means that it is unnecessary to lock out other threads while computing statistics, and neither to hold cs_main for the whole time. Let the thread run free.pull/4/head
Wladimir J. van der Laan
10 years ago
committed by
Jack Grigg
2 changed files with 4 additions and 3 deletions
Loading…
Reference in new issue