9 extern pid_t watchdog_pid
;
11 #define for_each_pidslot(i) for (i = 0; i < max_children; i++)
13 #define PIDSLOT_NOT_FOUND -1
14 #define EMPTY_PIDSLOT -1
15 int find_pid_slot(pid_t mypid
);
16 bool pidmap_empty(void);
17 void dump_pid_slots(void);
18 int pid_is_valid(pid_t
);
21 #define pid_alive(_pid) kill(_pid, 0)