Browse Source

*** empty log message ***

tags/rel-0.5
Marc Alexander Lehmann 13 years ago
parent
commit
0ff80c12fa
3 changed files with 11 additions and 8 deletions
  1. +5
    -2
      README
  2. +3
    -3
      ev.c
  3. +3
    -3
      ev.h

+ 5
- 2
README View File

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


+ 3
- 3
ev.c View File

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


+ 3
- 3
ev.h View File

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