(apr_status_t);
- Spawn a process with privileges that another module has requested
- Parameters
r The request_rec of the current request newproc The resulting process handle. progname The program to run const_args the arguments to pass to the new program. The first one should be the program name. env The new environment apr_table_t for the new process. This should be a list of NULL-terminated strings. attr the procattr we should use to determine how to create the new process p The pool to use.
intap_mpm_run(apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf);
- @deprecated present for backwards compatibility This is the function that MPMs must create. This function is responsible for controlling the parent and child processes. It will run until a restart/shutdown is indicated.
- Parameters
pconf the configuration pool, reset before the config file is read plog the log pool, reset after the config file is read server_conf the global server config. - Return Value
- 1 for shutdown 0 otherwise.
intap_graceful_stop_signalled(*void);
- predicate indicating if a graceful stop has been requested ... used by the connection loop
- Return Value
- 1 if a graceful stop has been requested, 0 otherwise
intap_mpm_query(int query_code, int *result);
- Query a property of the current MPM.
- Parameters
query_code One of APM_MPMQ_* result A location to place the result of the query - Return Value
- APR_SUCCESS or APR_ENOTIMPL