210
225
/* set up the pipe used to add new thds to the event pool */
211
226
if (init_pipe(thd_add_pipe))
216
231
/* set up the pipe used to kill thds in the event queue */
217
232
if (init_pipe(thd_kill_pipe))
224
239
event_set(&thd_add_event, thd_add_pipe[0], EV_READ|EV_PERSIST,
225
240
libevent_add_thd_callback, NULL);