summaryrefslogtreecommitdiff
path: root/test/testthread.c
diff options
context:
space:
mode:
authorAaron Bannert <aaron@apache.org>2001-12-27 17:03:00 +0000
committerAaron Bannert <aaron@apache.org>2001-12-27 17:03:00 +0000
commitd0161326135cd07bec82db9998eb96895c5f8559 (patch)
treed8eab7634b6d5fe22436119107c32e245deb3d3c /test/testthread.c
parentd4df28a46e74712e8df99bda57031a6aa880d152 (diff)
downloadapr-d0161326135cd07bec82db9998eb96895c5f8559.tar.gz
Convert apr_thread_exit(..., apr_status_t *retval) to
apr_thread_exit(..., apr_status_t retval) so that status values can actually be returned back to apr_thread_join. This patch converts all platforms to store the returned status in the platform-specific opaque thread structure. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62670 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testthread.c')
-rw-r--r--test/testthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testthread.c b/test/testthread.c
index d5374ae0c..f77a79f79 100644
--- a/test/testthread.c
+++ b/test/testthread.c
@@ -102,7 +102,7 @@ void * APR_THREAD_FUNC thread_func1(apr_thread_t *thd, void *data)
x++;
apr_lock_release(thread_lock);
}
- apr_thread_exit(thd, &exit_ret_val);
+ apr_thread_exit(thd, exit_ret_val);
return NULL;
}