blob: 4439f970725e96e14bf50978174041d00c0dd125 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 */
|