sc_eloop_pid.h (339B)
1 #ifndef SC_ELOOP_PID_H 2 #define SC_ELOOP_PID_H 3 4 struct sc_proc_t_s; 5 typedef struct sc_proc_t_s sc_proc_t; 6 7 struct sc_proc_t_s { 8 pid_t pid; 9 void* opaque; // a WEAK pointer to an opaque 10 int (*pdiecb) (sc_proc_t *, int, void *); 11 UT_hash_handle hh; 12 }; // callback when a protegé reports ("child dies") 13 14 #endif // SC_ELOOP_PID_H