chiark / gitweb /
polypath: Close parent's socket in child
[secnet.git] / hackypar.h
1 /* Hacky parallelism
2  * Ian Jackson
3  * We fork, and return false !
4  */
5
6 #ifndef hackympzpar_h
7 #define hackympzpar_h
8
9 struct site;
10
11 int hacky_par_start_failnow(void);
12 int hacky_par_mid_failnow(void);
13 void hacky_par_end(int *ok,
14                    int32_t retries, int32_t timeout,
15                    bool_t (*send_msg)(struct site *st), struct site *st);
16
17 #endif /* hackympzpar_h */