From ce974b74797a195580c44baf44f76b6f43f332c7 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 14 Dec 2008 21:58:08 +0000 Subject: *** empty log message *** --- ev.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ev.c') diff --git a/ev.c b/ev.c index d851282..5433353 100644 --- a/ev.c +++ b/ev.c @@ -2907,11 +2907,16 @@ embed_fork_cb (EV_P_ ev_fork *fork_w, int revents) { ev_embed *w = (ev_embed *)(((char *)fork_w) - offsetof (ev_embed, fork)); + ev_embed_stop (EV_A_ w); + { struct ev_loop *loop = w->other; ev_loop_fork (EV_A); + ev_loop (EV_A_ EVLOOP_NONBLOCK); } + + ev_embed_start (EV_A_ w); } #if 0 -- cgit v1.2.3