while (!this_worker_should_exit) {
apr_int16_t event;
apr_status_t ret;
-
+
ret = apr_poll(pollset, &srv, -1);
if (ret != APR_SUCCESS) {
if (!this_worker_should_exit) {
rv = apr_accept(&csd, sd, ptrans);
+
apr_lock_release(accept_mutex);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_ERR, rv, ap_server_conf,
break;
}
apr_pool_clear(ptrans);
-
}
ap_update_child_status(0, child_slot, SERVER_DEAD, (request_rec*)NULL);
}
static const command_rec beos_cmds[] = {
+BEOS_DAEMON_COMMANDS
LISTEN_COMMANDS
AP_INIT_TAKE1( "StartServers", set_daemons_to_start, NULL, RSRC_CONF,
"Number of child processes launched at server startup"),