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.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/thread-pool.h b/src/thread-pool.h
index 9c2a86a0..eb7fb99c 100644
--- a/src/thread-pool.h
+++ b/src/thread-pool.h
@@ -23,15 +23,6 @@
extern pthread_mutex_t stderr_lock;
extern signed int get_status_label(void);
-
-/* get_task() will be called every time a worker is idle. It returns either
- * NULL, indicating that no further work is available, or a pointer which will
- * be passed to work(). Work will stop after 'max' tasks have been processed.
- * final() will be called once per image, and will be given both queue_args
- * and the last task pointer.
- * get_task() and final() do NOT need to be re-entrant.
- * If "max" is zero, all tasks will be processed.
- * Returns: the number of tasks processed. */
extern int run_threads(int n_threads, void (*work)(void *, int),
void *(*get_task)(void *), void (*final)(void *, void *),
void *queue_args, int max,