You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by bi...@apache.org on 2020/04/04 15:06:31 UTC
[axis-axis2-c-core] 13/17: Fixed test crash problem
This is an automated email from the ASF dual-hosted git repository.
billblough pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/axis-axis2-c-core.git
commit 88d3473ed63859a10f8f6407e59cccd3bd3831c4
Author: Don Samisa Abeysinghe <sa...@apache.org>
AuthorDate: Thu May 3 06:08:48 2007 +0000
Fixed test crash problem
---
util/test/util/test_thread.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/util/test/util/test_thread.c b/util/test/util/test_thread.c
index db5fbfe..519792b 100644
--- a/util/test/util/test_thread.c
+++ b/util/test/util/test_thread.c
@@ -74,7 +74,7 @@ void * AXIS2_CALL test_function(axutil_thread_t *td, void *param)
printf("x = %d \n", ++x);
axutil_thread_mutex_unlock(thread_lock);
- axutil_thread_exit(td, env->allocator);
+ /*axutil_thread_exit(td, env->allocator);*/
return (void*)1;
}
@@ -102,7 +102,6 @@ void test_axutil_thread_create(const axutil_env_t *env)
if (t2) printf("success - test_axutil_thread_create - axutil_thread_create \n");
else printf("failure - test_axutil_thread_create - axutil_thread_create \n");
-
rv = axutil_thread_join(t1);
if (AXIS2_SUCCESS == rv) printf("success - test_axutil_thread_create - axutil_thread_join \n");