Lines Matching refs:process
92 printf("yes (variable process count)\n");
95 printf("yes (fixed process count)\n");
265 static void destroy_and_exit_process(process_rec *process,
271 * process their input. Otherwise it is possible that they get killed
279 const char *name = process->short_name ? process->short_name : "httpd";
283 apr_pool_destroy(process->pool); /* and destroy all descendent pools */
300 process_rec *process;
331 apr_pool_tag(cntx, "process");
336 * of this server process.
339 process = apr_palloc(cntx, sizeof(process_rec));
340 process->pool = cntx;
342 apr_pool_create(&process->pconf, process->pool);
343 apr_pool_tag(process->pconf, "pconf");
344 process->argc = *argc;
345 process->argv = *argv;
346 process->short_name = apr_filepath_name_get((*argv)[0]);
347 return process;
350 static void usage(process_rec *process)
352 const char *bin = process->argv[0];
391 " -C \"directive\" : process directive before reading "
394 " -c \"directive\" : process directive after reading "
457 destroy_and_exit_process(process, 1);
468 process_rec *process;
482 process = init_process(&argc, &argv);
483 ap_pglobal = process->pool;
484 pconf = process->pconf;
485 ap_server_argv0 = process->short_name;
490 apr_pool_abort_set(abort_on_oom, apr_pool_parent_get(process->pool));
494 destroy_and_exit_process(process, 1);
504 error = ap_setup_prelinked_modules(process);
508 destroy_and_exit_process(process, 1);
511 ap_run_rewrite_args(process);
516 apr_getopt_init(&opt, pcommands, process->argc, process->argv);
553 usage(process);
557 temp_error_log = apr_pstrdup(process->pool, opt_arg);
572 destroy_and_exit_process(process, 0);
576 destroy_and_exit_process(process, 0);
609 destroy_and_exit_process(process, 0);
619 usage(process);
628 usage(process);
645 ap_replace_stderr_log(process->pool, temp_error_log);
647 ap_server_conf = ap_read_config(process, ptemp, confname, &ap_conftree);
649 destroy_and_exit_process(process, 1);
659 destroy_and_exit_process(process, 1);
663 process->pconf, ptemp);
677 destroy_and_exit_process(process, 1);
686 destroy_and_exit_process(process, 0);
693 destroy_and_exit_process(process, 0);
699 destroy_and_exit_process(process, 1);
707 destroy_and_exit_process(process, exit_status);
716 destroy_and_exit_process(process, 1);
722 destroy_and_exit_process(process, 1);
747 ap_server_conf = ap_read_config(process, ptemp, confname, &ap_conftree);
749 destroy_and_exit_process(process, 1);
759 destroy_and_exit_process(process, 1);
762 if (ap_process_config_tree(ap_server_conf, ap_conftree, process->pconf,
764 destroy_and_exit_process(process, 1);
778 destroy_and_exit_process(process, 1);
785 destroy_and_exit_process(process, 1);
791 destroy_and_exit_process(process, 1);
813 destroy_and_exit_process(process, rc);