Back to index

php5  5.3.10
Classes | Enumerations | Functions | Variables
fpm_worker_pool.h File Reference
#include "fpm_conf.h"
#include "fpm_shm.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fpm_worker_pool_s

Enumerations

enum  fpm_address_domain { FPM_AF_UNIX = 1, FPM_AF_INET = 2 }

Functions

struct fpm_worker_pool_sfpm_worker_pool_alloc ()
int fpm_worker_pool_init_main ()

Variables

struct fpm_worker_pool_sfpm_worker_all_pools

Class Documentation

struct fpm_worker_pool_s

Definition at line 21 of file fpm_worker_pool.h.

Collaboration diagram for fpm_worker_pool_s:
Class Members
enum fpm_address_domain int
listening_socket int set_gid
int socket_mode struct
fpm_child_s *
children
struct fpm_worker_pool_config_s * config
char * home
int idle_spawn_rate
char ** limit_extensions
int log_fd
struct fpm_worker_pool_s * next
struct fpm_event_s * ondemand_event
int running_children
struct fpm_scoreboard_s * scoreboard
int socket_event_set
char * user
int warn_max_children

Enumeration Type Documentation

Enumerator:
FPM_AF_UNIX 
FPM_AF_INET 

Definition at line 16 of file fpm_worker_pool.h.

                        {
       FPM_AF_UNIX = 1,
       FPM_AF_INET = 2
};

Function Documentation

Definition at line 41 of file fpm_worker_pool.c.

{
       struct fpm_worker_pool_s *ret;

       ret = malloc(sizeof(struct fpm_worker_pool_s));
       if (!ret) {
              return 0;
       }

       memset(ret, 0, sizeof(struct fpm_worker_pool_s));

       ret->idle_spawn_rate = 1;
       ret->log_fd = -1;
       return ret;
}

Here is the caller graph for this function:

Definition at line 58 of file fpm_worker_pool.c.

{
       if (0 > fpm_cleanup_add(FPM_CLEANUP_ALL, fpm_worker_pool_cleanup, 0)) {
              return -1;
       }
       return 0;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 19 of file fpm_worker_pool.c.