From 450d693d2ab85af53ec3e50d448d594167dd76b8 Mon Sep 17 00:00:00 2001 From: "Bradley C. Kuszmaul" Date: Tue, 16 Apr 2013 23:59:09 -0400 Subject: [PATCH] Remove extra cilk context. Fixes #2575. close[t:2575]. git-svn-id: file:///svn/toku/tokudb@19905 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/brtloader.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/newbrt/brtloader.c b/newbrt/brtloader.c index 219a23f3a88..118e2cdfa1f 100644 --- a/newbrt/brtloader.c +++ b/newbrt/brtloader.c @@ -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; }