summaryrefslogtreecommitdiff
path: root/test/testthread.c
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-01-25 23:04:42 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-01-25 23:04:42 +0000
commit2a6c6b861152545492ef9a974f3faed2773c7600 (patch)
tree24959ad0cd63223804f8e318b30aed9e107a90d9 /test/testthread.c
parentd2d04550d8122ce765525704b834e4a251debfd2 (diff)
downloadlibapr-2a6c6b861152545492ef9a974f3faed2773c7600.tar.gz
Take a couple of values that were static for all locks out of the lock
structure. These values are now created once and used for all locks. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59619 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testthread.c')
-rw-r--r--test/testthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testthread.c b/test/testthread.c
index 37b9ed265..1365b2e24 100644
--- a/test/testthread.c
+++ b/test/testthread.c
@@ -128,6 +128,8 @@ int main()
ap_status_t s3;
ap_status_t s4;
+ ap_initialize();
+
fprintf(stdout, "Initializing the context.......");
if (ap_create_context(&context, NULL) != APR_SUCCESS) {
fprintf(stderr, "could not initialize\n");