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/object/cache.c | |
parent | 69c71f2917fede843789e783ab6fe0fcda68753a (diff) | |
download | libgit2-faebc1c6eccacd9659d21f848a9e2be55de671c7.tar.gz |
threads: split up OS-dependent thread code
Diffstat (limited to 'tests/object/cache.c')
-rw-r--r-- | tests/object/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/object/cache.c b/tests/object/cache.c index bdf12da7a..680f23630 100644 --- a/tests/object/cache.c +++ b/tests/object/cache.c @@ -220,7 +220,7 @@ void test_object_cache__threadmania(void) fn = (th & 1) ? cache_parsed : cache_raw; #ifdef GIT_THREADS - cl_git_pass(git_thread_create(&t[th], NULL, fn, data)); + cl_git_pass(git_thread_create(&t[th], fn, data)); #else cl_assert(fn(data) == data); git__free(data); @@ -267,7 +267,7 @@ void test_object_cache__fast_thread_rush(void) data[th] = th; #ifdef GIT_THREADS cl_git_pass( - git_thread_create(&t[th], NULL, cache_quick, &data[th])); + git_thread_create(&t[th], cache_quick, &data[th])); #else cl_assert(cache_quick(&data[th]) == &data[th]); #endif |