From fb645ae8efa9f9df252857d5a5cb0f6ce8f7074b Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 24 Oct 2012 10:01:42 -0400 Subject: don't say we're adding work --- fly-tools/mask/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fly-tools/mask') diff --git a/fly-tools/mask/main.c b/fly-tools/mask/main.c index 804f07f..6adf5e8 100644 --- a/fly-tools/mask/main.c +++ b/fly-tools/mask/main.c @@ -83,7 +83,7 @@ int main( int argc, char **argv){ } thpool_t* threadpool; - threadpool=thpool_init(4); + threadpool=thpool_init(2); char filename[256]; char *temp; @@ -94,7 +94,6 @@ int main( int argc, char **argv){ if (temp != NULL) *temp = '\0'; char *filename_r = malloc(256); strncpy(filename_r, filename, sizeof(filename)); - printf("add work: %s \n", filename); thpool_add_work(threadpool, (void*)convert_image, (void*)filename_r); } -- cgit v1.2.3