From 3d9eba890119a9eb9544f58bf2e0bf67c9c0aeeb Mon Sep 17 00:00:00 2001 From: damitha Date: Wed, 7 Jul 2010 08:54:06 +0000 Subject: Refer AXIS2C-1466 git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@961310 13f79535-47bb-0310-9956-ffa450edef68 --- util/test/util/test_thread.c | 16 ++++++++-------- util/test/util/test_thread.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/util/test/util/test_thread.c b/util/test/util/test_thread.c index e10b5b7..cbdead5 100644 --- a/util/test/util/test_thread.c +++ b/util/test/util/test_thread.c @@ -47,7 +47,7 @@ init_func( } void -thread_init( +test_thread_init( const axutil_env_t * env) { axutil_allocator_t *allocator = NULL; @@ -57,17 +57,17 @@ thread_init( control = axutil_thread_once_init(allocator); if (control) - printf("success - thread_init - axutil_thread_once_init \n"); + printf("success - test_thread_init - axutil_thread_once_init \n"); else - printf("failure - thread_init - axutil_thread_once_init \n"); + printf("failure - test_thread_init - axutil_thread_once_init \n"); thread_lock = axutil_thread_mutex_create(allocator, AXIS2_THREAD_MUTEX_DEFAULT); if (thread_lock) - printf("success - thread_init - axutil_thread_mutex_create \n"); + printf("success - test_thread_init - axutil_thread_mutex_create \n"); else - printf("failure - thread_init - axutil_thread_mutex_create \n"); + printf("failure - test_thread_init - axutil_thread_mutex_create \n"); } void *AXIS2_CALL @@ -125,7 +125,7 @@ test_axutil_thread_create( printf("success - test_axutil_thread_create - axutil_thread_join \n"); else printf - ("failure - thread_init - test_axutil_thread_create - axutil_thread_join \n"); + ("failure - test_thread_init - test_axutil_thread_create - axutil_thread_join \n"); rv = axutil_thread_join(t2); @@ -133,7 +133,7 @@ test_axutil_thread_create( printf("success - test_axutil_thread_create - axutil_thread_join \n"); else printf - ("failure - thread_init - test_axutil_thread_create - axutil_thread_join \n"); + ("failure - test_thread_init - test_axutil_thread_create - axutil_thread_join \n"); } @@ -275,7 +275,7 @@ void run_test_thread( const axutil_env_t * env) { - thread_init(env); + test_thread_init(env); test_axutil_thread_create(env); check_locks(); check_thread_once(); diff --git a/util/test/util/test_thread.h b/util/test/util/test_thread.h index b006b3f..17d4e7b 100644 --- a/util/test/util/test_thread.h +++ b/util/test/util/test_thread.h @@ -24,7 +24,7 @@ void init_func( void); -void thread_init( +void test_thread_init( const axutil_env_t * env); void *AXIS2_CALL test_function( -- cgit v1.1-32-gdbae