diff options
| author | Patrick Steinhardt <ps@pks.im> | 2016-06-20 17:44:04 +0200 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2016-06-20 19:32:59 +0200 |
| commit | faebc1c6eccacd9659d21f848a9e2be55de671c7 (patch) | |
| tree | 2354b2895cc7be0110e0093813253408e8f6af35 /tests/threads/refdb.c | |
| parent | 69c71f2917fede843789e783ab6fe0fcda68753a (diff) | |
| download | libgit2-faebc1c6eccacd9659d21f848a9e2be55de671c7.tar.gz | |
threads: split up OS-dependent thread code
Diffstat (limited to 'tests/threads/refdb.c')
| -rw-r--r-- | tests/threads/refdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/threads/refdb.c b/tests/threads/refdb.c index 6589e3922..f869bcb44 100644 --- a/tests/threads/refdb.c +++ b/tests/threads/refdb.c @@ -75,7 +75,7 @@ void test_threads_refdb__iterator(void) for (t = 0; t < THREADS; ++t) { id[t] = t; #ifdef GIT_THREADS - cl_git_pass(git_thread_create(&th[t], NULL, iterate_refs, &id[t])); + cl_git_pass(git_thread_create(&th[t], iterate_refs, &id[t])); #else th[t] = t; iterate_refs(&id[t]); @@ -196,7 +196,7 @@ void test_threads_refdb__edit_while_iterate(void) * for now by just running on a single thread... */ /* #ifdef GIT_THREADS */ -/* cl_git_pass(git_thread_create(&th[t], NULL, fn, &id[t])); */ +/* cl_git_pass(git_thread_create(&th[t], fn, &id[t])); */ /* #else */ fn(&id[t]); /* #endif */ @@ -211,7 +211,7 @@ void test_threads_refdb__edit_while_iterate(void) for (t = 0; t < THREADS; ++t) { id[t] = t; - cl_git_pass(git_thread_create(&th[t], NULL, iterate_refs, &id[t])); + cl_git_pass(git_thread_create(&th[t], iterate_refs, &id[t])); } for (t = 0; t < THREADS; ++t) { |
