From 8aa3eff77fd88102b9bf4fbec9bbc9f4388cf4c1 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 11 Jan 2011 17:46:07 +0100 Subject: Tidy up --- src/thread-pool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/thread-pool.c b/src/thread-pool.c index f44a8f85..b077fb9c 100644 --- a/src/thread-pool.c +++ b/src/thread-pool.c @@ -214,7 +214,6 @@ static void *task_worker(void *pargsv) cookie = malloc(sizeof(int)); *cookie = w->id; pthread_setspecific(status_label_key, cookie); - STATUS("Initialised thread %i\n", w->id); free(w); @@ -243,7 +242,7 @@ static void *task_worker(void *pargsv) cookie = *(int *)pthread_getspecific(status_label_key); q->work(task, cookie); - /* Update totals, release cookie etc */ + /* Update totals etc */ pthread_mutex_lock(&q->lock); q->n_completed++; if ( q->finalise ) { -- cgit v1.2.3