ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.200 by root, Wed Dec 26 08:06:09 2007 UTC vs.
Revision 1.204 by root, Fri Jan 18 13:45:55 2008 UTC

1166 1166
1167 while (pipe (sigpipe)) 1167 while (pipe (sigpipe))
1168 syserr ("(libev) error creating pipe"); 1168 syserr ("(libev) error creating pipe");
1169 1169
1170 siginit (EV_A); 1170 siginit (EV_A);
1171 sigcb (EV_A_ &sigev, EV_READ);
1171 } 1172 }
1172 1173
1173 postfork = 0; 1174 postfork = 0;
1174} 1175}
1175 1176
1197} 1198}
1198 1199
1199void 1200void
1200ev_loop_fork (EV_P) 1201ev_loop_fork (EV_P)
1201{ 1202{
1202 postfork = 1; 1203 postfork = 1; // must be in line with ev_default_fork
1203} 1204}
1204 1205
1205#endif 1206#endif
1206 1207
1207#if EV_MULTIPLICITY 1208#if EV_MULTIPLICITY
1271#if EV_MULTIPLICITY 1272#if EV_MULTIPLICITY
1272 struct ev_loop *loop = ev_default_loop_ptr; 1273 struct ev_loop *loop = ev_default_loop_ptr;
1273#endif 1274#endif
1274 1275
1275 if (backend) 1276 if (backend)
1276 postfork = 1; 1277 postfork = 1; // must be in line with ev_loop_fork
1277} 1278}
1278 1279
1279/*****************************************************************************/ 1280/*****************************************************************************/
1280 1281
1281void 1282void

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines