summaryrefslogtreecommitdiff
path: root/source3/lib/server_prefork_util.h
AgeCommit message (Collapse)AuthorFilesLines
2011-08-21s3-prefork: add a few more utility functionsSimo Sorce1-0/+3
Add a few util functions children side so that daemons do not have to care about properly setting num_clients and state. Let a common helper do it so that they are all consistent. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21s3-prefork: Add common utilities for daemonsSimo Sorce1-0/+49
Daemons using the prefork infrastructure may want to use these utils to configure and manage a pool of children. Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>