diff options
author | Thomas White <taw@physics.org> | 2010-10-29 12:26:41 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:04 +0100 |
commit | cc23b6eb31f8c4f59be3acf9f1bc8c51daf25e55 (patch) | |
tree | 944c74c7092b4113880fdbbddda12824027b519e | |
parent | 3f14e324e6838bfeab03bbab222e363c8ffc2134 (diff) |
Fix thread pool finalisation args
-rw-r--r-- | src/thread-pool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-pool.c b/src/thread-pool.c index 6228004b..d9f734d8 100644 --- a/src/thread-pool.c +++ b/src/thread-pool.c @@ -202,7 +202,7 @@ static void *task_worker(void *pargsv) q->n_completed++; q->cookies[mycookie] = 0; if ( q->finalise ) { - q->finalise(q, task); + q->finalise(q->queue_args, task); } pthread_mutex_unlock(&q->lock); |