diff options
-rw-r--r-- | README | 7 | ||||
-rw-r--r-- | ev.c | 6 | ||||
-rw-r--r-- | ev.h | 6 |
3 files changed, 11 insertions, 8 deletions
@@ -1,5 +1,6 @@ -libev is modelled after libevent (http://monkey.org/~provos/libevent/), but aims -to be faster and more correct, and also more featureful. Examples: +libev is modelled (very losely) after libevent +(http://monkey.org/~provos/libevent/), but aims to be faster and more +correct, and also more featureful. Examples: (comparisons relative to libevent-1.3e and libev-0.00) @@ -56,6 +57,8 @@ to be faster and more correct, and also more featureful. Examples: - libev handles EBADF gracefully by removing the offending fds. +- doesn't rely on nonportable BSD header files. + whats missing? - evdns, evhttp, bufferevent are missing, libev is only an even library at @@ -491,19 +491,19 @@ int ev_init (int flags) /*****************************************************************************/ void -ev_prefork (void) +ev_fork_prepare (void) { /* nop */ } void -ev_postfork_parent (void) +ev_fork_parent (void) { /* nop */ } void -ev_postfork_child (void) +ev_fork_child (void) { #if EV_USE_EPOLL if (ev_method == EVMETHOD_EPOLL) @@ -173,9 +173,9 @@ int ev_version_major (void); int ev_version_minor (void); /* these three calls are suitable for plugging into pthread_atfork */ -void ev_prefork (void); -void ev_postfork_parent (void); -void ev_postfork_child (void); +void ev_fork_prepare (void); +void ev_fork_parent (void); +void ev_fork_child (void); extern ev_tstamp ev_now; /* time w.r.t. timers and the eventloop, updated after each poll */ ev_tstamp ev_time (void); |