client_list->tbl_len = num_buckets;
client_list->num_entries = 0;
- sts = ap_global_mutex_create(&client_lock, client_mutex_type, NULL, s, ctx, 0);
+ sts = ap_global_mutex_create(&client_lock, NULL, client_mutex_type, NULL,
+ s, ctx, 0);
if (sts != APR_SUCCESS) {
log_error_and_cleanup("failed to create lock (client_lock)", sts, s);
return !OK;
}
*opaque_cntr = 1UL;
- sts = ap_global_mutex_create(&opaque_lock, opaque_mutex_type, NULL, s, ctx, 0);
+ sts = ap_global_mutex_create(&opaque_lock, NULL, opaque_mutex_type, NULL,
+ s, ctx, 0);
if (sts != APR_SUCCESS) {
log_error_and_cleanup("failed to create lock (opaque_lock)", sts, s);
return !OK;
* Create mutexes for singleton watchdogs
*/
if (w->singleton) {
- rv = ap_proc_mutex_create(&w->mutex, wd_proc_mutex_type,
+ rv = ap_proc_mutex_create(&w->mutex, NULL, wd_proc_mutex_type,
w->name, s,
wd_server_conf->pool, 0);
if (rv != APR_SUCCESS) {
/* Create global mutex */
- rs = ap_global_mutex_create(&exipc_mutex, exipc_mutex_type, NULL, s, pconf,
- 0);
+ rs = ap_global_mutex_create(&exipc_mutex, NULL, exipc_mutex_type, NULL,
+ s, pconf, 0);
if (APR_SUCCESS != rs) {
return HTTP_INTERNAL_SERVER_ERROR;
}
return DONE;
}
- result = ap_global_mutex_create(&st->util_ldap_cache_lock,
+ result = ap_global_mutex_create(&st->util_ldap_cache_lock, NULL,
ldap_cache_mutex_type, NULL, s, p, 0);
if (result != APR_SUCCESS) {
return result;
/* XXX See if there are any rewrite map programs before creating
* the mutex.
*/
- rc = ap_global_mutex_create(&rewrite_mapr_lock_acquire,
+ rc = ap_global_mutex_create(&rewrite_mapr_lock_acquire, NULL,
rewritemap_mutex_type, NULL, s, p, 0);
if (rc != APR_SUCCESS) {
return rc;
return TRUE;
}
- if ((rv = ap_global_mutex_create(&mc->pMutex, SSL_CACHE_MUTEX_TYPE, NULL,
- s, s->process->pool, 0))
+ if ((rv = ap_global_mutex_create(&mc->pMutex, NULL, SSL_CACHE_MUTEX_TYPE,
+ NULL, s, s->process->pool, 0))
!= APR_SUCCESS) {
return FALSE;
}
return TRUE;
}
- if ((rv = ap_global_mutex_create(&mc->stapling_mutex,
+ if ((rv = ap_global_mutex_create(&mc->stapling_mutex, NULL,
SSL_STAPLING_MUTEX_TYPE, NULL, s,
s->process->pool, 0)) != APR_SUCCESS) {
return FALSE;
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,
- _pconf, 0);
+ rv = ap_proc_mutex_create(&accept_mutex, NULL, AP_ACCEPT_MUTEX_TYPE, NULL,
+ s, _pconf, 0);
if (rv != APR_SUCCESS) {
mpm_state = AP_MPMQ_STOPPING;
return DONE;
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,
- _pconf, 0);
+ rv = ap_proc_mutex_create(&accept_mutex, NAME, AP_ACCEPT_MUTEX_TYPE, NULL,
+ s, _pconf, 0);
if (rv != APR_SUCCESS) {
mpm_state = AP_MPMQ_STOPPING;
return DONE;