aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/threads/thread_pool.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
committerMartin Willi <martin@strongswan.org>2005-11-24 11:30:19 +0000
commit5796aa164d79b2ffaf2839b281d490be6a72d1d8 (patch)
tree4031a623426b19bf03b2c61cd73a504e218fb1fb /Source/charon/threads/thread_pool.h
parent95c61cb956505cdb0a91c8c8cd134dda3aac744d (diff)
downloadstrongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.bz2
strongswan-5796aa164d79b2ffaf2839b281d490be6a72d1d8.tar.xz
- typedefs changed
Diffstat (limited to 'Source/charon/threads/thread_pool.h')
-rw-r--r--Source/charon/threads/thread_pool.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/charon/threads/thread_pool.h b/Source/charon/threads/thread_pool.h
index 54022e4b4..609fb04d2 100644
--- a/Source/charon/threads/thread_pool.h
+++ b/Source/charon/threads/thread_pool.h
@@ -27,15 +27,16 @@
#include <types.h>
+
+typedef struct thread_pool_t thread_pool_t;
+
/**
* @brief A thread_pool contains a pool of threads processing the job queue.
*
* Current implementation uses as many threads as specified in constructor.
* A more improved version would dynamically increase thread count if necessary...
*/
-typedef struct thread_pool_s thread_pool_t;
-
-struct thread_pool_s {
+struct thread_pool_t {
/**
* @brief return currently instanciated threads
*