Skip to content

Commit

Permalink
feat: export Env::default() rust-rocksdb/rust-rocksdb#448
Browse files Browse the repository at this point in the history
  • Loading branch information
developerfred committed Jul 30, 2020
1 parent 56ed601 commit 4071dcf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/c.cc
Expand Up @@ -3845,6 +3845,8 @@ void rocksdb_env_set_low_priority_background_threads(rocksdb_env_t* env,
env->rep->SetBackgroundThreads(n, Env::LOW);
}

void rocksdb_env_default(rocksdb_env_t* env) { env->rep->Env::Default(); }

void rocksdb_env_join_all_threads(rocksdb_env_t* env) {
env->rep->WaitForJoin();
}
Expand Down

0 comments on commit 4071dcf

Please sign in to comment.