From 1cb90a3ca91674aa0e7e2f73397d1a6536fe766a Mon Sep 17 00:00:00 2001 From: Johan Date: Sat, 17 Jan 2015 19:43:48 +0000 Subject: [PATCH] updated API --- tests/src/no_work.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/no_work.c b/tests/src/no_work.c index 1616453..b7a802d 100644 --- a/tests/src/no_work.c +++ b/tests/src/no_work.c @@ -14,8 +14,8 @@ int main(int argc, char *argv[]){ } int num_threads = strtol(argv[1], &p, 10); - thpool threadpool = thpool_init(num_threads); - thpool_destroy(threadpool); + threadpool thpool = thpool_init(num_threads); + thpool_destroy(thpool); sleep(1); // Sometimes main exits before thpool_destroy finished 100%