From 2177c9a4959519c5388973d0d91771bd8cf50d4e Mon Sep 17 00:00:00 2001 From: root Date: Thu, 29 Nov 2007 20:05:59 +0000 Subject: *** empty log message *** --- ev.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'ev.html') diff --git a/ev.html b/ev.html index 5ca899a..d95bffd 100644 --- a/ev.html +++ b/ev.html @@ -6,7 +6,7 @@ - + @@ -1841,8 +1841,9 @@ suitable for use with EV_A.

loop, if multiple loops are supported ("ev loop default").

-

Example: Declare and initialise a check watcher, working regardless of -wether multiple loops are supported or not.

+

Example: Declare and initialise a check watcher, utilising the above +macros so it will work regardless of wether multiple loops are supported +or not.

  static void
   check_cb (EV_P_ ev_timer *w, int revents)
   {
@@ -1854,9 +1855,6 @@ wether multiple loops are supported or not.

ev_check_start (EV_DEFAULT_ &check); ev_loop (EV_DEFAULT_ 0); - - -
@@ -1907,7 +1905,7 @@ in your include path (e.g. in libev/ when using -Ilibev):

ev_win32.c required on win32 platforms only - ev_select.c only when select backend is enabled (which is by default) + ev_select.c only when select backend is enabled (which is enabled by default) ev_poll.c only when poll backend is enabled (disabled by default) ev_epoll.c only when the epoll backend is enabled (disabled by default) ev_kqueue.c only when the kqueue backend is enabled (disabled by default) @@ -2159,11 +2157,16 @@ interface) and EV.xs (implementation) files. Only the EV.xs

The usage in rxvt-unicode is simpler. It has a ev_cpp.h header file -that everybody includes and which overrides some autoconf choices:

-
  #define EV_USE_POLL 0
+that everybody includes and which overrides some configure choices:

+
  #define EV_MINIMAL 1
+  #define EV_USE_POLL 0
   #define EV_MULTIPLICITY 0
-  #define EV_PERIODICS 0
+  #define EV_PERIODIC_ENABLE 0
+  #define EV_STAT_ENABLE 0
+  #define EV_FORK_ENABLE 0
   #define EV_CONFIG_H <config.h>
+  #define EV_MINPRI 0
+  #define EV_MAXPRI 0
 
   #include "ev++.h"
 
-- 
cgit v1.2.3