Searched refs:ap_scoreboard_image (Results 1 - 19 of 19) sorted by relevance

/httpd/server/
H A Dscoreboard.c43 AP_DECLARE_DATA scoreboard *ap_scoreboard_image = NULL; variable
125 free(ap_scoreboard_image);
126 ap_scoreboard_image = NULL;
155 ap_scoreboard_image =
158 ap_scoreboard_image->global = (global_score *)more_storage;
160 ap_scoreboard_image->parent = (process_score *)more_storage;
162 ap_scoreboard_image->servers =
163 (worker_score **)((char*)ap_scoreboard_image + sizeof(scoreboard));
165 ap_scoreboard_image->servers[i] = (worker_score *)more_storage;
169 ap_scoreboard_image
[all...]
H A Dmpm_unix.c747 if (ap_scoreboard_image->servers[i][0].status != SERVER_READY ||
748 ap_scoreboard_image->servers[i][0].pid == 0) {
H A Dutil.c3015 ws = &ap_scoreboard_image->servers[i][j];
/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2_child.c148 for (child_slot = 0; ap_scoreboard_image->parent[child_slot].pid != my_pid && child_slot < HARD_SERVER_LIMIT; child_slot++);
156 ap_my_generation = ap_scoreboard_image->parent[child_slot].generation;
157 memset(ap_scoreboard_image->servers[child_slot], 0, sizeof(worker_score) * HARD_THREAD_LIMIT);
172 // ap_scoreboard_image->servers[child_slot][c].tid = _beginthread(worker_main, NULL, 128*1024, (void *)c);
249 } while (!shutdown_pending && ap_my_generation == ap_scoreboard_image->global->running_generation);
251 ap_scoreboard_image->parent[child_slot].quiescing = 1;
260 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
269 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
280 if (ap_scoreboard_image->servers[child_slot][c].status != SERVER_DEAD) {
281 DosKillThread(ap_scoreboard_image
[all...]
H A Dmpmt_os2.c173 ap_scoreboard_image->global->running_generation = ap_my_generation;
245 if (ap_scoreboard_image == NULL) {
260 ap_scoreboard_image->global->restart_time = apr_time_now();
267 ap_scoreboard_image->parent[0].pid = getpid();
279 active_children += ap_scoreboard_image->parent[slot].pid != 0 &&
280 !ap_scoreboard_image->parent[slot].quiescing;
285 if (ap_scoreboard_image->parent[slot].pid == 0) {
295 for (slot=0; ap_scoreboard_image->parent[slot].pid != child_pid && slot < HARD_SERVER_LIMIT; slot++);
298 ap_scoreboard_image->parent[slot].pid = 0;
299 ap_scoreboard_image
[all...]
/httpd/server/mpm/prefork/
H A Dprefork.c138 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
207 ap_scoreboard_image->parent[childnum].pid,
208 ap_scoreboard_image->parent[childnum].generation,
210 ap_scoreboard_image->parent[childnum].pid = 0;
215 ap_scoreboard_image->parent[slot].pid = pid;
217 ap_scoreboard_image->parent[slot].pid,
250 ap_scoreboard_image->global->running_generation) {
269 ap_scoreboard_image->global->running_generation) {
741 ap_scoreboard_image->global->running_generation) { /* restart? */
839 ap_scoreboard_image
[all...]
/httpd/server/mpm/worker/
H A Dworker.c188 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
392 ap_scoreboard_image->parent[childnum].pid,
393 ap_scoreboard_image->parent[childnum].generation,
395 ap_scoreboard_image->parent[childnum].pid = 0;
404 ap_scoreboard_image->parent[slot].pid = pid;
406 ap_scoreboard_image->parent[slot].pid,
416 ap_scoreboard_image->parent[slot].pid,
417 ap_scoreboard_image->parent[slot].quiescing ?
420 ap_scoreboard_image->parent[slot].pid,
421 ap_scoreboard_image
[all...]
/httpd/server/mpm/motorz/
H A Dmotorz.c532 ap_scoreboard_image->parent[childnum].pid,
533 ap_scoreboard_image->parent[childnum].generation,
535 ap_scoreboard_image->parent[childnum].pid = 0;
540 ap_scoreboard_image->parent[slot].pid = pid;
542 ap_scoreboard_image->parent[slot].pid,
575 ap_scoreboard_image->global->running_generation) {
595 ap_scoreboard_image->global->running_generation) {
1027 ap_scoreboard_image->global->running_generation) { /* restart? */
1119 ap_scoreboard_image->parent[slot].bucket = bucket;
1132 if (ap_scoreboard_image
[all...]
H A Dmotorz.h107 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
/httpd/modules/arch/unix/
H A Dmod_systemd.c70 ap_scoreboard_image->global->restart_time);
/httpd/server/mpm/event/
H A Devent.c150 #define MPM_CHILD_PID(i) (ap_scoreboard_image->parent[i].pid)
448 ap_scoreboard_image->parent[process_slot].not_accepting = 1;
469 ap_scoreboard_image->parent[process_slot].not_accepting = 0;
606 ap_scoreboard_image->parent[childnum].pid,
607 ap_scoreboard_image->parent[childnum].generation,
609 ap_scoreboard_image->parent[childnum].pid = 0;
618 ap_scoreboard_image->parent[slot].pid = pid;
620 ap_scoreboard_image->parent[slot].pid,
630 ap_scoreboard_image->parent[slot].pid,
631 ap_scoreboard_image
[all...]
/httpd/include/
H A Dscoreboard.h209 AP_DECLARE_DATA extern scoreboard *ap_scoreboard_image;
/httpd/server/mpm/netware/
H A Dmpm_netware.c397 if (shutdown_pending || restart_pending || (ap_scoreboard_image->servers[0][my_worker_num].status == WORKER_IDLE_KILL)) {
579 ap_scoreboard_image->servers[0][slot].tid = tid;
591 if (ap_scoreboard_image->servers[0][i].status != WORKER_DEAD) {
636 ws = &ap_scoreboard_image->servers[0][i];
741 status = (ap_scoreboard_image->servers[0][i]).status;
888 ap_scoreboard_image->parent[0].pid = getpid();
890 ap_scoreboard_image->parent[0].pid,
933 ap_scoreboard_image->parent[0].pid,
960 ap_scoreboard_image->global->running_generation = ap_my_generation;
/httpd/modules/cluster/
H A Dmod_heartbeat.c66 ws = &ap_scoreboard_image->servers[i][j];
/httpd/server/mpm/winnt/
H A Dmpm_winnt.c141 ap_scoreboard_image->parent[slot].pid = pid;
143 ap_scoreboard_image->parent[slot].pid,
150 ap_scoreboard_image->parent[slot].pid,
151 ap_scoreboard_image->parent[slot].generation,
153 ap_scoreboard_image->parent[slot].pid = 0;
781 ap_scoreboard_image->parent[0].quiescing = 0;
865 ap_scoreboard_image->global->running_generation = my_generation;
1668 my_generation = ap_scoreboard_image->global->running_generation;
H A Dchild.c1053 int status = ap_scoreboard_image->servers[0][i].status;
1055 if (ap_scoreboard_image->servers[0][i].generation != my_generation) {
1079 ap_scoreboard_image->servers[0][i].pid = my_pid;
1080 ap_scoreboard_image->servers[0][i].generation = my_generation;
/httpd/modules/generators/
H A Dmod_status.c394 ap_scoreboard_image->global->restart_time);
417 ap_scoreboard_image->global->restart_time,
443 ap_scoreboard_image->global->restart_time,
H A Dmod_cgid.c1255 apr_time_sec(apr_time_now() - ap_scoreboard_image->global->restart_time) >
/httpd/modules/lua/
H A Dlua_request.c753 return (int)(ap_scoreboard_image->global->restart_time / 1000000);

Completed in 4198 milliseconds