Apache2
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

◆ AP_DEFAULT_SERVICE_NAME

#define AP_DEFAULT_SERVICE_NAME   "Apache2.x"

◆ DEFAULT_THREAD_LIMIT

#define DEFAULT_THREAD_LIMIT   1920

◆ DEFAULT_THREADS_PER_CHILD

#define DEFAULT_THREADS_PER_CHILD   64

◆ HARD_SERVER_LIMIT

#define HARD_SERVER_LIMIT   1

◆ MAX_THREAD_LIMIT

#define MAX_THREAD_LIMIT   15000

◆ SERVICE_APACHE_RESTART

#define SERVICE_APACHE_RESTART   128

◆ SERVICECONFIG

#define SERVICECONFIG   "System\\CurrentControlSet\\Services\\%s"

◆ SERVICEPARAMS

#define SERVICEPARAMS   "System\\CurrentControlSet\\Services\\%s\\Parameters"

Enumeration Type Documentation

◆ ap_signal_parent_e

Enumerator
SIGNAL_PARENT_SHUTDOWN 
SIGNAL_PARENT_RESTART 
SIGNAL_PARENT_RESTART_GRACEFUL 

Function Documentation

◆ ap_signal_parent()

void ap_signal_parent ( ap_signal_parent_e  type)

◆ child_main()

void child_main ( apr_pool_t pconf,
DWORD  parent_pid 
)

◆ clean_child_exit()

void clean_child_exit ( int  )

◆ hold_console_open_on_error()

void hold_console_open_on_error ( void  )

◆ mpm_merge_service_args()

apr_status_t mpm_merge_service_args ( apr_pool_t p,
apr_array_header_t args,
int  fixed_args 
)

◆ mpm_nt_eventlog_stderr_flush()

void mpm_nt_eventlog_stderr_flush ( void  )

◆ mpm_nt_eventlog_stderr_open()

void mpm_nt_eventlog_stderr_open ( const char *  display_name,
apr_pool_t p 
)

◆ mpm_service_install()

apr_status_t mpm_service_install ( apr_pool_t ptemp,
int  argc,
char const *const *  argv,
int  reconfig 
)

◆ mpm_service_set_name()

apr_status_t mpm_service_set_name ( apr_pool_t p,
const char **  display_name,
const char *  set_name 
)

◆ mpm_service_start()

apr_status_t mpm_service_start ( apr_pool_t ptemp,
int  argc,
char const *const *  argv 
)

◆ mpm_service_started()

apr_status_t mpm_service_started ( void  )

◆ mpm_service_stopping()

void mpm_service_stopping ( void  )

◆ mpm_service_to_start()

apr_status_t mpm_service_to_start ( const char **  display_name,
apr_pool_t p 
)

◆ mpm_service_uninstall()

apr_status_t mpm_service_uninstall ( void  )

◆ mpm_signal_service()

void mpm_signal_service ( apr_pool_t ptemp,
int  signal 
)

◆ mpm_start_child_console_handler()

void mpm_start_child_console_handler ( void  )

◆ mpm_start_console_handler()

void mpm_start_console_handler ( void  )

Variable Documentation

◆ ap_threads_per_child

int ap_threads_per_child
extern

◆ exit_event

HANDLE exit_event
extern

◆ mpm_winnt_module

module AP_MODULE_DECLARE_DATA mpm_winnt_module
extern

◆ my_generation

volatile ap_generation_t my_generation
extern

◆ my_pid

DWORD my_pid
extern

◆ osver

OSVERSIONINFO osver
extern

◆ stack_res_flag

DWORD stack_res_flag
extern

◆ start_mutex

apr_proc_mutex_t* start_mutex
extern

◆ winnt_mpm_state

int winnt_mpm_state
extern