X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftest_log_thread.c;h=7f78b741eba6e097fad2f4219a171bff797bc690;hb=f7db9d090f9a6baf83fa7f1e6c277d1ecc4d0a64;hp=7384cf2fe41fd033e469d0a43e5128b7d1c185e8;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;p=yaz-moved-to-github.git diff --git a/test/test_log_thread.c b/test/test_log_thread.c index 7384cf2..7f78b74 100644 --- a/test/test_log_thread.c +++ b/test/test_log_thread.c @@ -34,12 +34,12 @@ static void *t_loop2(void *vp) static void t_test(void) { pthread_t tids[4]; - + pthread_create(tids+0, 0, t_loop2, 0); pthread_create(tids+1, 0, t_loop2, 0); pthread_create(tids+2, 0, t_loop2, 0); pthread_create(tids+3, 0, t_loop2, 0); - + pthread_join(tids[0], 0); pthread_join(tids[1], 0); pthread_join(tids[2], 0);