Loading src/tests/blocking-c-del-deadlock.c +1 −1 Original line number Diff line number Diff line Loading @@ -120,8 +120,8 @@ static void *blocking_c_del_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_c_del_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_c_del_thread, &a); assert(r == 0); } blocking_c_del(db_env, db, nrows, sleeptime); Loading src/tests/blocking-c-del.c +1 −1 Original line number Diff line number Diff line Loading @@ -118,8 +118,8 @@ static void *blocking_c_del_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_c_del_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_c_del_thread, &a); assert(r == 0); } blocking_c_del(db_env, db, nrows, sleeptime); Loading src/tests/blocking-first-empty.c +1 −1 Original line number Diff line number Diff line Loading @@ -74,8 +74,8 @@ static void *blocking_first_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_first_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_first_thread, &a); assert(r == 0); } blocking_first(db_env, db, nrows, sleeptime); Loading src/tests/blocking-first.c +1 −1 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static void *blocking_first_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_first_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_first_thread, &a); assert(r == 0); } blocking_first(db_env, db, nrows, sleeptime); Loading src/tests/blocking-last.c +1 −1 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static void *blocking_last_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_last_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_last_thread, &a); assert(r == 0); } blocking_last(db_env, db, nrows, sleeptime); Loading Loading
src/tests/blocking-c-del-deadlock.c +1 −1 Original line number Diff line number Diff line Loading @@ -120,8 +120,8 @@ static void *blocking_c_del_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_c_del_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_c_del_thread, &a); assert(r == 0); } blocking_c_del(db_env, db, nrows, sleeptime); Loading
src/tests/blocking-c-del.c +1 −1 Original line number Diff line number Diff line Loading @@ -118,8 +118,8 @@ static void *blocking_c_del_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_c_del_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_c_del_thread, &a); assert(r == 0); } blocking_c_del(db_env, db, nrows, sleeptime); Loading
src/tests/blocking-first-empty.c +1 −1 Original line number Diff line number Diff line Loading @@ -74,8 +74,8 @@ static void *blocking_first_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_first_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_first_thread, &a); assert(r == 0); } blocking_first(db_env, db, nrows, sleeptime); Loading
src/tests/blocking-first.c +1 −1 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static void *blocking_first_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_first_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_first_thread, &a); assert(r == 0); } blocking_first(db_env, db, nrows, sleeptime); Loading
src/tests/blocking-last.c +1 −1 Original line number Diff line number Diff line Loading @@ -91,8 +91,8 @@ static void *blocking_last_thread(void *arg) { static void run_test(DB_ENV *db_env, DB *db, int nthreads, uint64_t nrows, long sleeptime) { int r; toku_pthread_t tids[nthreads]; for (int i = 0; i < nthreads-1; i++) { struct blocking_last_args a = { db_env, db, nrows, sleeptime }; for (int i = 0; i < nthreads-1; i++) { r = toku_pthread_create(&tids[i], NULL, blocking_last_thread, &a); assert(r == 0); } blocking_last(db_env, db, nrows, sleeptime); Loading