aboutsummaryrefslogtreecommitdiff
path: root/src/thread-pool.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread-pool.h')
-rw-r--r--src/thread-pool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread-pool.h b/src/thread-pool.h
index 11123493..3376b8fe 100644
--- a/src/thread-pool.h
+++ b/src/thread-pool.h
@@ -30,7 +30,7 @@ extern void run_thread_range(int n_tasks, int n_threads, const char *text,
* be passed to work(). Work will stop after 'max' tasks have been processed.
* get_task() does not need to be re-entrant.
* Returns: the number of tasks processed. */
-extern int run_threads(int n_threads, void (*work)(void *),
+extern int run_threads(int n_threads, void (*work)(void *, int),
void *(*get_task)(void *), void *queue_args, int max);