summaryrefslogtreecommitdiff
path: root/source3/lib/server_prefork.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2011-08-16 18:20:51 -0400
committerSimo Sorce <idra@samba.org>2011-08-21 09:05:05 -0400
commit75f3da76e48df79c21e65354768d3f581053127e (patch)
treebdc84c408d80a121f9231114129f87980db0940a /source3/lib/server_prefork.h
parent89dde6b7fce3342c828f166e7d76bf4656939ee4 (diff)
downloadsamba-75f3da76e48df79c21e65354768d3f581053127e.tar.gz
samba-75f3da76e48df79c21e65354768d3f581053127e.tar.bz2
samba-75f3da76e48df79c21e65354768d3f581053127e.zip
s3-prefork: Improve heuristics
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/lib/server_prefork.h')
-rw-r--r--source3/lib/server_prefork.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/server_prefork.h b/source3/lib/server_prefork.h
index 334b5813a0..d240641a39 100644
--- a/source3/lib/server_prefork.h
+++ b/source3/lib/server_prefork.h
@@ -168,14 +168,14 @@ int prefork_add_children(struct tevent_context *ev_ctx,
int prefork_retire_children(struct prefork_pool *pfp,
int num_children, time_t age_limit);
/**
-* @brief Count the number of active children
+* @brief Count the number of children
*
* @param pfp The pool.
-* @param total Returns the number of children currently alive
+* @param active Number of children currently active if not NULL
*
-* @return The number of children actually serving clients
+* @return The total number of children.
*/
-int prefork_count_active_children(struct prefork_pool *pfp, int *total);
+int prefork_count_children(struct prefork_pool *pfp, int *active);
/**
* @brief Count the number of actual connections currently allowed