summaryrefslogtreecommitdiff
path: root/test/testthread.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 15:58:54 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-04-14 15:58:54 +0000
commit00a9ca6dfcb4118e8b5fd850a29512b6350a64e0 (patch)
treec07dfce5f37b9ffae3b9b7b8b0b435fb98cdc74b /test/testthread.c
parentcf78e17a5bfa07c2801e0c9005e09496679db918 (diff)
downloadlibapr-00a9ca6dfcb4118e8b5fd850a29512b6350a64e0.tar.gz
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59856 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testthread.c')
-rw-r--r--test/testthread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testthread.c b/test/testthread.c
index 76110426b..f82f496ce 100644
--- a/test/testthread.c
+++ b/test/testthread.c
@@ -70,7 +70,7 @@ void * API_THREAD_FUNC thread_func4(void *data);
ap_lock_t *thread_lock;
-ap_context_t *context;
+ap_pool_t *context;
int x = 0;
void * API_THREAD_FUNC thread_func1(void *data)
@@ -131,7 +131,7 @@ int main()
ap_initialize();
fprintf(stdout, "Initializing the context.......");
- if (ap_create_context(&context, NULL) != APR_SUCCESS) {
+ if (ap_create_pool(&context, NULL) != APR_SUCCESS) {
fprintf(stderr, "could not initialize\n");
exit(-1);
}