X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_log_thread.c;h=7f78b741eba6e097fad2f4219a171bff797bc690;hp=41c4ceb839a5abd45d898ca502365d3696ee4a7e;hb=6d8c5abbb0477835de7e1fcca7915b2f952c3c9f;hpb=3107ce3a34993d2f784387f227a50343fff83bbc diff --git a/test/test_log_thread.c b/test/test_log_thread.c index 41c4ceb..7f78b74 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-2010 Index Data + * Copyright (C) 1995-2012 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);