Commit ce59e63b authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4763 remove unused adaptive mutex attributes refs[t:4763]

git-svn-id: file:///svn/toku/tokudb@42289 c7de825b-a66e-492c-adef-691d508d4ae1
parent e46d11e8
...@@ -4440,9 +4440,6 @@ int toku_brt_create(BRT *brt_ptr) { ...@@ -4440,9 +4440,6 @@ int toku_brt_create(BRT *brt_ptr) {
brt->update_fun = NULL; brt->update_fun = NULL;
int r = toku_omt_create(&brt->txns); int r = toku_omt_create(&brt->txns);
if (r!=0) { toku_free(brt); return r; } if (r!=0) { toku_free(brt); return r; }
pthread_mutexattr_t attr;
r = pthread_mutexattr_init(&attr); assert_zero(r);
r = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); assert_zero(r);
toku_spin_init(&brt->cursors_lock, 0); toku_spin_init(&brt->cursors_lock, 0);
*brt_ptr = brt; *brt_ptr = brt;
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment