Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 14 years ago
parent
commit
0ff80c12fa
  1. 7
      README
  2. 6
      ev.c
  3. 6
      ev.h

7
README

@ -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

6
ev.c

@ -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)

6
ev.h

@ -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);

Loading…
Cancel
Save