*** empty log message ***

This commit is contained in:
Marc Alexander Lehmann 2007-11-29 20:05:59 +00:00
parent de0d38140f
commit c59081e3e6
3 changed files with 36 additions and 22 deletions

18
ev.3
View File

@ -1999,8 +1999,9 @@ suitable for use with \f(CW\*(C`EV_A\*(C'\fR.
Similar to the other two macros, this gives you the value of the default
loop, if multiple loops are supported (\*(L"ev loop default\*(R").
.PP
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.
.PP
.Vb 5
\& static void
@ -2073,7 +2074,7 @@ in your include path (e.g. in libev/ when using \-Ilibev):
.Ve
.PP
.Vb 5
\& 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)
@ -2310,13 +2311,18 @@ will be compiled. It is pretty complex because it provides its own header
file.
.Sp
The usage in rxvt-unicode is simpler. It has a \fIev_cpp.h\fR header file
that everybody includes and which overrides some autoconf choices:
that everybody includes and which overrides some configure choices:
.Sp
.Vb 4
.Vb 9
\& #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
.Ve
.Sp
.Vb 1

23
ev.html
View File

@ -6,7 +6,7 @@
<meta name="description" content="Pod documentation for libev" />
<meta name="inputfile" content="&lt;standard input&gt;" />
<meta name="outputfile" content="&lt;standard output&gt;" />
<meta name="created" content="Thu Nov 29 18:28:02 2007" />
<meta name="created" content="Thu Nov 29 21:05:58 2007" />
<meta name="generator" content="Pod::Xhtml 1.57" />
<link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head>
<body>
@ -1841,8 +1841,9 @@ suitable for use with <code>EV_A</code>.</p>
loop, if multiple loops are supported (&quot;ev loop default&quot;).</p>
</dd>
</dl>
<p>Example: Declare and initialise a check watcher, working regardless of
wether multiple loops are supported or not.</p>
<p>Example: Declare and initialise a check watcher, utilising the above
macros so it will work regardless of wether multiple loops are supported
or not.</p>
<pre> static void
check_cb (EV_P_ ev_timer *w, int revents)
{
@ -1854,9 +1855,6 @@ wether multiple loops are supported or not.</p>
ev_check_start (EV_DEFAULT_ &amp;check);
ev_loop (EV_DEFAULT_ 0);
</pre>
</div>
@ -1907,7 +1905,7 @@ in your include path (e.g. in libev/ when using -Ilibev):</p>
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 <cite>EV.xs</cite> (implementation) files. Only the <cite>EV.xs</
will be compiled. It is pretty complex because it provides its own header
file.</p>
<p>The usage in rxvt-unicode is simpler. It has a <cite>ev_cpp.h</cite> header file
that everybody includes and which overrides some autoconf choices:</p>
<pre> #define EV_USE_POLL 0
that everybody includes and which overrides some configure choices:</p>
<pre> #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 &lt;config.h&gt;
#define EV_MINPRI 0
#define EV_MAXPRI 0
#include &quot;ev++.h&quot;

17
ev.pod
View File

@ -1850,8 +1850,9 @@ loop, if multiple loops are supported ("ev loop default").
=back
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)
@ -1864,7 +1865,6 @@ wether multiple loops are supported or not.
ev_check_start (EV_DEFAULT_ &check);
ev_loop (EV_DEFAULT_ 0);
=head1 EMBEDDING
Libev can (and often is) directly embedded into host
@ -1913,7 +1913,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)
@ -2165,12 +2165,17 @@ will be compiled. It is pretty complex because it provides its own header
file.
The usage in rxvt-unicode is simpler. It has a F<ev_cpp.h> header file
that everybody includes and which overrides some autoconf choices:
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"