axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From billblo...@apache.org
Subject [axis-axis2-c-core] 05/08:
Date Sat, 04 Apr 2020 15:08:11 GMT
This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch new_thread_pool-25march2009
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git

commit 3bda0dedb6080094cef7eabe3430b844783bfa5a
Author: Damitha N.M. Kumarage <damitha@apache.org>
AuthorDate: Wed Mar 25 06:31:46 2009 +0000
---
 util/src/env.c                        | 4 +++-
 util/src/platforms/unix/thread_unix.c | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/util/src/env.c b/util/src/env.c
index 30b23ac..e0a0f78 100644
--- a/util/src/env.c
+++ b/util/src/env.c
@@ -22,6 +22,8 @@
 #include <axutil_log_default.h>
 #include <axutil_string.h>
 
+#define INIT_THREAD_POOL_SIZE 150
+
 AXIS2_EXTERN axutil_env_t *AXIS2_CALL
 axutil_env_create(
     axutil_allocator_t *allocator)
@@ -165,7 +167,7 @@ axutil_env_create_all(
         log = axutil_log_create_default(allocator);
     }
     
-    thread_pool = axutil_thread_pool_init(allocator);
+    thread_pool = axutil_thread_pool_init(allocator, INIT_THREAD_POOL_SIZE);
     
     env = axutil_env_create_with_error_log_thread_pool(allocator, error, log,
                                                        thread_pool);
diff --git a/util/src/platforms/unix/thread_unix.c b/util/src/platforms/unix/thread_unix.c
index d183488..fb60442 100644
--- a/util/src/platforms/unix/thread_unix.c
+++ b/util/src/platforms/unix/thread_unix.c
@@ -17,7 +17,7 @@
  */
 
 #include <config.h>
-#include "axutil_thread_unix.h"
+#include <axutil_thread_unix.h>
 
 AXIS2_EXTERN axutil_threadattr_t *AXIS2_CALL
 axutil_threadattr_create(


Mime
View raw message