Apache2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Collaboration diagram for WinNT MPM:

Macros

#define DEFAULT_THREAD_LIMIT   1920
 
#define MAX_THREAD_LIMIT   15000
 
#define DEFAULT_THREADS_PER_CHILD   64
 
#define HARD_SERVER_LIMIT   1
 
#define SERVICE_APACHE_RESTART   128
 
#define AP_DEFAULT_SERVICE_NAME   "Apache2.x"
 
#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"
 
#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"
 

Enumerations

enum  ap_signal_parent_e { SIGNAL_PARENT_SHUTDOWN, SIGNAL_PARENT_RESTART, SIGNAL_PARENT_RESTART_GRACEFUL }
 

Functions

apr_status_t mpm_service_set_name (apr_pool_t *p, const char **display_name, const char *set_name)
 
apr_status_t mpm_merge_service_args (apr_pool_t *p, apr_array_header_t *args, int fixed_args)
 
apr_status_t mpm_service_to_start (const char **display_name, apr_pool_t *p)
 
apr_status_t mpm_service_started (void)
 
apr_status_t mpm_service_install (apr_pool_t *ptemp, int argc, char const *const *argv, int reconfig)
 
apr_status_t mpm_service_uninstall (void)
 
apr_status_t mpm_service_start (apr_pool_t *ptemp, int argc, char const *const *argv)
 
void mpm_signal_service (apr_pool_t *ptemp, int signal)
 
void mpm_service_stopping (void)
 
void mpm_start_console_handler (void)
 
void mpm_start_child_console_handler (void)
 
void mpm_nt_eventlog_stderr_open (const char *display_name, apr_pool_t *p)
 
void mpm_nt_eventlog_stderr_flush (void)
 
void clean_child_exit (int)
 
void ap_signal_parent (ap_signal_parent_e type)
 
void hold_console_open_on_error (void)
 
void child_main (apr_pool_t *pconf, DWORD parent_pid)
 

Variables

module AP_MODULE_DECLARE_DATA mpm_winnt_module
 
int ap_threads_per_child
 
DWORD my_pid
 
volatile ap_generation_t my_generation
 
apr_proc_mutex_tstart_mutex
 
HANDLE exit_event
 
int winnt_mpm_state
 
OSVERSIONINFO osver
 
DWORD stack_res_flag
 

Detailed Description

Macro Definition Documentation

#define AP_DEFAULT_SERVICE_NAME   "Apache2.x"
#define DEFAULT_THREAD_LIMIT   1920
#define DEFAULT_THREADS_PER_CHILD   64
#define HARD_SERVER_LIMIT   1
#define MAX_THREAD_LIMIT   15000
#define SERVICE_APACHE_RESTART   128
#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"
#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"

Enumeration Type Documentation

Enumerator
SIGNAL_PARENT_SHUTDOWN 
SIGNAL_PARENT_RESTART 
SIGNAL_PARENT_RESTART_GRACEFUL 

Function Documentation

void ap_signal_parent ( ap_signal_parent_e  type)
void child_main ( apr_pool_t pconf,
DWORD  parent_pid 
)
void clean_child_exit ( int  )
void hold_console_open_on_error ( void  )
apr_status_t mpm_merge_service_args ( apr_pool_t p,
apr_array_header_t args,
int  fixed_args 
)
void mpm_nt_eventlog_stderr_flush ( void  )
void mpm_nt_eventlog_stderr_open ( const char *  display_name,
apr_pool_t p 
)
apr_status_t mpm_service_install ( apr_pool_t ptemp,
int  argc,
char const *const *  argv,
int  reconfig 
)
apr_status_t mpm_service_set_name ( apr_pool_t p,
const char **  display_name,
const char *  set_name 
)
apr_status_t mpm_service_start ( apr_pool_t ptemp,
int  argc,
char const *const *  argv 
)
apr_status_t mpm_service_started ( void  )
void mpm_service_stopping ( void  )
apr_status_t mpm_service_to_start ( const char **  display_name,
apr_pool_t p 
)
apr_status_t mpm_service_uninstall ( void  )
void mpm_signal_service ( apr_pool_t ptemp,
int  signal 
)
void mpm_start_child_console_handler ( void  )
void mpm_start_console_handler ( void  )

Variable Documentation

int ap_threads_per_child
HANDLE exit_event
module AP_MODULE_DECLARE_DATA mpm_winnt_module
volatile ap_generation_t my_generation
DWORD my_pid
OSVERSIONINFO osver
DWORD stack_res_flag
apr_proc_mutex_t* start_mutex
int winnt_mpm_state