mirror of
https://github.com/facebook/rocksdb.git
synced 2024-12-04 20:02:50 +00:00
fix for non-fbcode linux
This commit is contained in:
parent
7f92556ad7
commit
ce58659f58
|
@ -35,7 +35,8 @@ static int PthreadCall(const char* label, int result) {
|
|||
return result;
|
||||
}
|
||||
|
||||
Mutex::Mutex(bool /*adaptive*/) {
|
||||
Mutex::Mutex(bool adaptive) {
|
||||
(void) adaptive;
|
||||
#ifdef ROCKSDB_PTHREAD_ADAPTIVE_MUTEX
|
||||
if (!adaptive) {
|
||||
PthreadCall("init mutex", pthread_mutex_init(&mu_, nullptr));
|
||||
|
|
Loading…
Reference in a new issue