diff options
Diffstat (limited to 'src/charon/threads/thread_pool.h')
-rw-r--r-- | src/charon/threads/thread_pool.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/charon/threads/thread_pool.h b/src/charon/threads/thread_pool.h index e4a04e8cb..2d8fd4f4d 100644 --- a/src/charon/threads/thread_pool.h +++ b/src/charon/threads/thread_pool.h @@ -24,22 +24,21 @@ #ifndef THREAD_POOL_H_ #define THREAD_POOL_H_ +typedef struct thread_pool_t thread_pool_t; + #include <stdlib.h> #include <types.h> - -typedef struct thread_pool_t thread_pool_t; - /** * @brief A thread_pool consists of a pool of threads processing jobs from the job queue. - * + * * Current implementation uses as many threads as specified in constructor. * A more improved version would dynamically increase thread count if necessary. - * + * * @b Constructors: * - thread_pool_create() - * + * * @todo Add support for dynamic thread handling * * @ingroup threads |