summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-07-05 20:52:33 +0000
committerrbb <rbb@13f79535-47bb-0310-9956-ffa450edef68>2000-07-05 20:52:33 +0000
commitcd06144e33a43c99816bbc7eb0a371768307a9da (patch)
tree9ffe9f41507e00089e21fdb7fb613203b7db82ff /lib
parent1700d14413388b05ef745a97981ee1f268e08244 (diff)
downloadlibapr-cd06144e33a43c99816bbc7eb0a371768307a9da.tar.gz
Move some private information for pools from a public header file to the
C file. Just a good idea to keep private information private. :-) git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60304 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'lib')
-rw-r--r--lib/apr_pools.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/apr_pools.c b/lib/apr_pools.c
index 093b78026..0cb0e03bc 100644
--- a/lib/apr_pools.c
+++ b/lib/apr_pools.c
@@ -100,6 +100,16 @@
/* Details of the debugging options can now be found in the developer
* section of the documentaion. */
+
+/* magic numbers --- min free bytes to consider a free ap_pool_t block useable,
+ * and the min amount to allocate if we have to go to malloc() */
+
+#ifndef BLOCK_MINFREE
+#define BLOCK_MINFREE 4096
+#endif
+#ifndef BLOCK_MINALLOC
+#define BLOCK_MINALLOC 8192
+#endif
#ifdef POOL_DEBUG
/* first do some option checking... */