Commit 450d693d authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Remove extra cilk context. Fixes #2575. close[t:2575].

git-svn-id: file:///svn/toku/tokudb@19905 c7de825b-a66e-492c-adef-691d508d4ae1
parent dd51442e
......@@ -1890,7 +1890,6 @@ static int loader_do_i (BRTLOADER bl,
return r;
}
CILK_BEGIN
static int toku_brt_loader_close_internal (BRTLOADER bl)
/* Effect: Close the bulk loader.
* Return all the file descriptors in the array fds. */
......@@ -1926,7 +1925,6 @@ static int toku_brt_loader_close_internal (BRTLOADER bl)
BL_TRACE_END;
return result;
}
CILK_END
int toku_brt_loader_close (BRTLOADER bl,
brt_loader_error_func error_function, void *error_extra,
......@@ -1951,11 +1949,7 @@ int toku_brt_loader_close (BRTLOADER bl,
return r;
}
#if defined(__cilkplusplus)
r = cilk::run(toku_brt_loader_close_internal, bl);
#else
r = toku_brt_loader_close_internal(bl);
#endif
return r;
}
......
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