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.
Previous: mutex
Next: piped_log
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)