diff options
| author | root <root> | 2010-10-25 09:53:08 +0000 | 
|---|---|---|
| committer | root <root> | 2010-10-25 09:53:08 +0000 | 
| commit | 55090f7eebb26a4528319492151224c956c2c163 (patch) | |
| tree | cea36ced2fc1b73cbb9c197d4ecc329b8e31d105 | |
| parent | 0a2d41db33a342205818af32c2f20017670c5019 (diff) | |
*** empty log message ***
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | ev.h | 5 | 
2 files changed, 4 insertions, 2 deletions
| @@ -1,5 +1,6 @@  Revision history for libev, a high-performance and full-featured event loop. +TODO: required reading?  	- "PORTING FROM LIBEV 3.X TO 4.X" (in ev.pod) is recommended reading.  	- ev_embed_stop did not correctly stop the watcher (very good            testcase by Vladimir Timofeev). @@ -552,8 +552,6 @@ ev_is_default_loop (EV_P)  /* create and destroy alternative loops that don't handle signals */  struct ev_loop *ev_loop_new (unsigned int flags EV_CPP (= 0)); -/* destroy event loops, also works for the default loop */ -void ev_loop_destroy (EV_P);  ev_tstamp ev_now (EV_P); /* time w.r.t. timers and the eventloop, updated after each poll */ @@ -578,6 +576,9 @@ ev_is_default_loop (void)  #endif /* multiplicity */ +/* destroy event loops, also works for the default loop */ +void ev_loop_destroy (EV_P); +  /* this needs to be called after fork, to duplicate the loop */  /* when you want to re-use it in the child */  /* you can call it in either the parent or the child */ | 
