Prettyification

This commit is contained in:
pithikos 2015-01-16 18:48:22 +00:00
parent 27bcb3826a
commit f9e40a7d7b

View File

@ -12,9 +12,9 @@ int main(int argc, char *argv[]){
puts("This testfile needs excactly one arguments");
exit(1);
}
int threads = strtol(argv[1], &p, 10);
int num_threads = strtol(argv[1], &p, 10);
thpool threadpool = thpool_init(threads);
thpool threadpool = thpool_init(num_threads);
thpool_destroy(threadpool);
sleep(1); // Sometimes main exits before thpool_destroy finished 100%