LevelDB 源码分析
Condition Variable与Mutex的比较
Mutexes are low-level primitives used to coordinate concurrent access to mutable data.If one thread has locked a mutex, then another thread attempting to lock that same mutex will wait until the first thread is done
https://en.cppreference.com/w/cpp/thread/condition_variable
SSTable and Log Structured Storage: LevelDB
dbformat.h
1 | //A helper class useful for DBImpl::Get() |
1 | struct FileMetaData { |