Apache 1.3 API Documentation

Structure parent_score

Definition:

typedef struct { 
    pid_t pid; 
#ifdef OPTIMIZE_TIMEOUTS 
    time_t last_rtime; 
    vtime_t last_vtime; 
#endif 
} parent_score;
     

Usage example:

parent_score ps_record; 
for (i = 0; i < HARD_SERVER_LIMIT; ++i) { 
    ps_record = ap_scoreboard_image->parent[i]; 
} 
     

This structure contains data which the parent generally writes and the children rarely read.

The parent_rec structure contains time(0) of the last change, and the last vtime the parent has seen.

See also:
ap_exists_scoreboard_image, ap_scoreboard_image, ap_sync_scoreboard_image, global_score, scoreboard, SERVER_BUSY_DNS, SERVER_BUSY_KEEPALIVE, SERVER_BUSY_LOG, SERVER_BUSY_READ, SERVER_BUSY_WRITE, SERVER_DEAD, SERVER_GRACEFUL, SERVER_NUM_STATUS, SERVER_READY, SERVER_STARTING, short_score, START_PREQUEST, STOP_PREQUEST, vtime_t

Previous: mutex Next: piped_log

Table of Contents (Routines, Structures, Data Cells, Constants)