Browse Source

*** empty log message ***

master
Marc Alexander Lehmann 12 years ago
parent
commit
756dd88925
3 changed files with 15 additions and 7 deletions
  1. +2
    -0
      Changes
  2. +1
    -1
      configure.ac
  3. +12
    -6
      ev.c

+ 2
- 0
Changes View File

@ -18,6 +18,8 @@ Revision history for libev, a high-performance and full-featured event loop.
- add portability requirements section.
- fix manpage headers etc.
- normalise WSA error codes to lower range on windows.
- start some (internal only) consistency check code that
can be called frequently to catch bugs.
3.31 Wed Apr 16 20:45:04 CEST 2008
- added last minute fix for ev_poll.c by Brandon Black.


+ 1
- 1
configure.ac View File

@ -1,7 +1,7 @@
AC_INIT
AC_CONFIG_SRCDIR([ev_epoll.c])
AM_INIT_AUTOMAKE(libev,3.4)
AM_INIT_AUTOMAKE(libev,3.41)
AC_CONFIG_HEADERS([config.h])
AM_MAINTAINER_MODE


+ 12
- 6
ev.c View File

@ -237,6 +237,12 @@ extern "C" {
# endif
#endif
#if 0 /* debugging */
# define EV_VERIFY 1
# define EV_USE_4HEAP 1
# define EV_HEAP_CACHE_AT 1
#endif
#ifndef EV_USE_4HEAP
# define EV_USE_4HEAP !EV_MINIMAL
#endif
@ -290,12 +296,12 @@ int eventfd (unsigned int initval, int flags);
/**/
/* undefined or zero: no verification done or available */
/* 1 or higher: ev_loop_verify function available */
/* 2 or higher: ev_loop_verify is called frequently */
#define EV_VERIFY 1
#if EV_VERIFY > 1
/* EV_VERIFY: enable internal consistency checks
* undefined or zero: no verification done or available
* 1 or higher: ev_loop_verify function available
* 2 or higher: ev_loop_verify is called frequently
*/
#if EV_VERIFY >= 1
# define EV_FREQUENT_CHECK ev_loop_verify (EV_A)
#else
# define EV_FREQUENT_CHECK do { } while (0)


Loading…
Cancel
Save