summaryrefslogtreecommitdiff
path: root/ev.c
diff options
context:
space:
mode:
authorroot <root>2008-12-14 21:58:08 +0000
committerroot <root>2008-12-14 21:58:08 +0000
commitce974b74797a195580c44baf44f76b6f43f332c7 (patch)
tree808de2e9022831385d2409bc4dc1ccf2887a8cdb /ev.c
parentb3671b8933f927606edb7e0b6f074c340a1addfc (diff)
*** empty log message ***
Diffstat (limited to 'ev.c')
-rw-r--r--ev.c5
1 files changed, 5 insertions, 0 deletions
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