/* mutex type string for accept mutex, if any; MPMs should use the
* same mutex type for ease of configuration
*/
-#define ap_accept_mutex_type "mpm-accept"
+#define AP_ACCEPT_MUTEX_TYPE "mpm-accept"
#ifdef __cplusplus
}
ap_log_pid(pconf, ap_pid_fname);
/* Initialize cross-process accept lock */
- rv = ap_proc_mutex_create(&accept_mutex, ap_accept_mutex_type, NULL, s,
+ rv = ap_proc_mutex_create(&accept_mutex, AP_ACCEPT_MUTEX_TYPE, NULL, s,
_pconf, 0);
if (rv != APR_SUCCESS) {
mpm_state = AP_MPMQ_STOPPING;
foreground = ap_exists_config_define("FOREGROUND");
}
- ap_mutex_register(p, ap_accept_mutex_type, NULL, APR_LOCK_DEFAULT, 0);
+ ap_mutex_register(p, AP_ACCEPT_MUTEX_TYPE, NULL, APR_LOCK_DEFAULT, 0);
/* sigh, want this only the second time around */
retained = ap_retained_data_get(userdata_key);
ap_log_pid(pconf, ap_pid_fname);
/* Initialize cross-process accept lock */
- rv = ap_proc_mutex_create(&accept_mutex, ap_accept_mutex_type, NULL, s,
+ rv = ap_proc_mutex_create(&accept_mutex, AP_ACCEPT_MUTEX_TYPE, NULL, s,
_pconf, 0);
if (rv != APR_SUCCESS) {
mpm_state = AP_MPMQ_STOPPING;
foreground = ap_exists_config_define("FOREGROUND");
}
- ap_mutex_register(pconf, ap_accept_mutex_type, NULL, APR_LOCK_DEFAULT, 0);
+ ap_mutex_register(pconf, AP_ACCEPT_MUTEX_TYPE, NULL, APR_LOCK_DEFAULT, 0);
/* sigh, want this only the second time around */
retained = ap_retained_data_get(userdata_key);