X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=test%2Ftest_log_thread.c;h=ee3b7be55786cea8165e6d32e344bf7591bbbf9b;hp=e2cac23ab5e107eb4657784e16ed0a11056387fd;hb=b696a59e5609651787b64b953b581a3ceb263f14;hpb=43a9d38d20c1b1bcd1a03b2445a501d27526bd35 diff --git a/test/test_log_thread.c b/test/test_log_thread.c index e2cac23..ee3b7be 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-2011 Index Data + * Copyright (C) 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);