summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar damitha2010-07-17 04:10:04 +0000
committerGravatar damitha2010-07-17 04:10:04 +0000
commit8aae3360e080fa95646de9f7e31c255106556167 (patch)
treec88bbb800465bf645ac819af72d3f012ee58f39d /src
parent5f5976d73dfbdd6c3fe2e29e6397c8a674d887ce (diff)
downloadaxis2c-8aae3360e080fa95646de9f7e31c255106556167.tar.gz
axis2c-8aae3360e080fa95646de9f7e31c255106556167.tar.bz2
refer AXIS2C-1488
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@965005 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/core/clientapi/listener_manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/clientapi/listener_manager.c b/src/core/clientapi/listener_manager.c
index 1e3e3f2..6605bf2 100644
--- a/src/core/clientapi/listener_manager.c
+++ b/src/core/clientapi/listener_manager.c
@@ -127,7 +127,9 @@ axis2_listener_manager_make_sure_started(
listener = axis2_transport_in_desc_get_recv(transport_in, env);
if(listener)
{
+#ifdef AXIS2_SVR_MULTI_THREADED
axutil_thread_t *worker_thread = NULL;
+#endif
axis2_listener_manager_worker_func_args_t *arg_list = NULL;
arg_list = AXIS2_MALLOC(env->allocator,
sizeof(axis2_listener_manager_worker_func_args_t));
@@ -188,7 +190,9 @@ axis2_listener_manager_make_sure_started(
tl_state->listener = listener;
tl_state->waiting_calls = 0;
listener_manager->listener_map[transport] = tl_state;
+#ifdef AXIS2_SVR_MULTI_THREADED
listener_manager->listener_thread[transport] = worker_thread;
+#endif
}
}
}