diff options
Diffstat (limited to 'src/thread-pool.h')
-rw-r--r-- | src/thread-pool.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/thread-pool.h b/src/thread-pool.h new file mode 100644 index 00000000..4439f970 --- /dev/null +++ b/src/thread-pool.h @@ -0,0 +1,25 @@ +/* + * thread-pool.h + * + * A thread pool implementation + * + * (c) 2006-2010 Thomas White <taw@physics.org> + * + * Part of CrystFEL - crystallography with a FEL + * + */ + + +#ifndef THREAD_POOL_H +#define THREAD_POOL_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + + +extern void munch_threads(int n_tasks, int n_threads, const char *text, + void (*work)(int, void *), void *work_args); + + +#endif /* THREAD_POOL_H */ |