X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_log_thread.c;h=bd48c8aef55d4e8d9c6a7ee52920a6dce146903b;hp=7384cf2fe41fd033e469d0a43e5128b7d1c185e8;hb=13ac77e545b5d7e8b5ecb053d0aaa321ce12e487;hpb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a diff --git a/test/test_log_thread.c b/test/test_log_thread.c index 7384cf2..bd48c8a 100644 --- a/test/test_log_thread.c +++ b/test/test_log_thread.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ @@ -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);