diff options
author | Thomas White <taw@physics.org> | 2011-04-01 19:00:18 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:23 +0100 |
commit | 894f2241f244a7cfd0687d58acffef12a83190ab (patch) | |
tree | fb4a18606c71eb4df9588f60bd3e74b6f230dd1e /src/thread-pool.h | |
parent | 86b8641c9d638d811dc7bbffefa4a2b04993ba11 (diff) |
Remove run_thread_range()
Diffstat (limited to 'src/thread-pool.h')
-rw-r--r-- | src/thread-pool.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/thread-pool.h b/src/thread-pool.h index 04a9e19b..9c2a86a0 100644 --- a/src/thread-pool.h +++ b/src/thread-pool.h @@ -24,14 +24,6 @@ extern pthread_mutex_t stderr_lock; extern signed int get_status_label(void); -/* work() will be called with a number and work_args. The number will be - * unique and in the range 0..n_tasks. A progress bar will be shown using - * "text" and the progress through the tasks, unless "text" is NULL. */ -extern void run_thread_range(int n_tasks, int n_threads, const char *text, - void (*work)(int, void *), void *work_args, - int cpu_num, int cpu_groupsize, int cpu_offset); - - /* 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. |