--- libev/ev.html 2007/11/27 20:26:51 1.54 +++ libev/ev.html 2007/11/27 20:29:12 1.55 @@ -6,7 +6,7 @@ - + @@ -62,19 +62,19 @@
-

NAME

Top

+

NAME

libev - a high performance full-featured event loop written in C

-

SYNOPSIS

Top

+

SYNOPSIS

  #include <ev.h>
 
 
-

EXAMPLE PROGRAM

Top

+

EXAMPLE PROGRAM

  #include <ev.h>
 
@@ -119,7 +119,7 @@
 
-

DESCRIPTION

Top

+

DESCRIPTION

Libev is an event loop: you register interest in certain events (such as a file descriptor being readable or a timeout occuring), and it will manage @@ -133,7 +133,7 @@ watcher.

-

FEATURES

Top

+

FEATURES

Libev supports select, poll, the linux-specific epoll, the bsd-specific kqueue and the solaris-specific event port mechanisms @@ -149,7 +149,7 @@ for example).

-

CONVENTIONS

Top

+

CONVENTIONS

Libev is very configurable. In this manual the default configuration will be described, which supports multiple event loops. For more info about @@ -159,7 +159,7 @@ (which is always of type struct ev_loop *) will not have this argument.

-

TIME REPRESENTATION

Top

+

TIME REPRESENTATION

Libev represents time as a single floating point number, representing the (fractional) number of seconds since the (POSIX) epoch (somewhere near @@ -169,7 +169,7 @@ it, you should treat it as such.

-

GLOBAL FUNCTIONS

Top

+

GLOBAL FUNCTIONS

These functions can be called anytime, even before initialising the library in any way.

@@ -287,7 +287,7 @@
-

FUNCTIONS CONTROLLING THE EVENT LOOP

Top

+

FUNCTIONS CONTROLLING THE EVENT LOOP

An event loop is described by a struct ev_loop *. The library knows two types of such loops, the default loop, which supports signals and child @@ -570,7 +570,7 @@

-

ANATOMY OF A WATCHER

Top

+

ANATOMY OF A WATCHER

A watcher is a structure that you create and register to record your interest in some event. For instance, if you want to wait for STDIN to @@ -793,7 +793,7 @@

-

WATCHER TYPES

Top

+

WATCHER TYPES

This section describes each watcher in detail, but will not repeat information given in the last section. Any initialisation/set macros, @@ -1562,7 +1562,7 @@

-

OTHER FUNCTIONS

Top

+

OTHER FUNCTIONS

There are some other functions of possible interest. Described. Here. Now.

@@ -1619,7 +1619,7 @@
-

LIBEVENT EMULATION

Top

+

LIBEVENT EMULATION

Libev offers a compatibility emulation layer for libevent. It cannot emulate the internals of libevent, so here are some usage hints:

@@ -1639,7 +1639,7 @@
-

C++ SUPPORT

Top

+

C++ SUPPORT

Libev comes with some simplistic wrapper classes for C++ that mainly allow you to use some convinience methods to start/stop watchers and also change @@ -1744,7 +1744,7 @@

-

MACRO MAGIC

Top

+

MACRO MAGIC

Libev can be compiled with a variety of options, the most fundemantal is EV_MULTIPLICITY. This option determines wether (most) functions and @@ -1805,7 +1805,7 @@

-

EMBEDDING

Top

+

EMBEDDING

Libev can (and often is) directly embedded into host applications. Examples of applications that embed it include the Deliantra @@ -2109,7 +2109,7 @@

-

COMPLEXITIES

Top

+

COMPLEXITIES

In this section the complexities of (many of) the algorithms used inside libev will be explained. For complexity discussions about backends see the @@ -2132,7 +2132,7 @@

-

AUTHOR

Top

+

AUTHOR

Marc Lehmann <libev@schmorp.de>.