diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-10-10 15:20:07 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:02 +0100 |
commit | 5a9ad87cc6534c046d23347241fbbcf43b5e3715 (patch) | |
tree | fb3fa913324645d4409078d4ce63adf57345a04c /src/thread-pool.h | |
parent | 33a8fc19c75323cc5447add5f268258ae518aff0 (diff) |
facetron: Use new thread pool
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 */ |