1 | libev is a high-performance event loop/event model with lots of features. |
1 | libev is a high-performance event loop/event model with lots of features. |
2 | (see benchmark at http://libev.schmorp.de/bench.html) |
2 | (see benchmark at http://libev.schmorp.de/bench.html) |
3 | |
3 | |
4 | Homepage: http://software.schmorp.de/pkg/libev |
4 | Homepage: http://software.schmorp.de/pkg/libev |
5 | E-Mail: libev@lists.schmorp.de |
5 | E-Mail: libev@lists.schmorp.de |
|
|
6 | Library Documentation: http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod |
6 | |
7 | |
7 | It is modelled (very losely) after libevent |
8 | It is modelled (very losely) after libevent and the Event perl module, |
8 | (http://monkey.org/~provos/libevent/) and the Event perl module, but aims |
|
|
9 | to be faster and more correct, and also more featureful. |
9 | but aims to be faster and more correct, and also more featureful. And |
|
|
10 | also smaller. Yay. |
10 | |
11 | |
11 | ABOUT THIS DISTRIBUTION |
12 | ABOUT THIS DISTRIBUTION |
12 | |
13 | |
13 | If you downloaded a distribution of libev, you will find it looks |
14 | If you downloaded the libevent+libev distribution of libev, you will |
14 | very much like libevent. In fact, the distributed libev tarballs are |
15 | find it looks very much like libevent. In fact, the distributed libev |
15 | indeed libevent tarballs patched up with the libev event core, taking |
16 | tarballs are indeed libevent tarballs patched up with the libev |
16 | the evbuffer, evtag, evdns and evhttpd parts from libevent (they use |
17 | event core, taking the evbuffer, evtag, evdns and evhttpd parts from |
17 | the libevent emulation inside libev). Configure and Makefile stuff is |
18 | libevent (they use the libevent emulation inside libev). Configure and |
18 | also a more or less direct copy of libevent, and are maintained by the |
19 | Makefile stuff is also a more or less direct copy of libevent, and are |
19 | libevent authors. |
20 | maintained by the libevent authors. |
|
|
21 | |
|
|
22 | If you downloaded the libev distribution (without libevent), then |
|
|
23 | you only get the core parts of the library, meaning http and dns |
|
|
24 | client/server code and similar things are missing. Only the core event |
|
|
25 | loop is included. |
20 | |
26 | |
21 | If you are looking for an easily embeddable version, I recommend using |
27 | If you are looking for an easily embeddable version, I recommend using |
22 | the CVS repository (linked from the homepage, above), which contains |
28 | the libev standalone distribution or the CVS repository. |
23 | only the libev core parts. |
|
|
24 | |
29 | |
25 | Examples of programs that embed libev: the EV perl module, |
30 | Examples of programs that embed libev: the EV perl module, |
26 | rxvt-unicode, gvpe (GNU Virtual Private Ethernet) and deliantra |
31 | rxvt-unicode, gvpe (GNU Virtual Private Ethernet) and deliantra |
27 | (http://www.deliantra.net). |
32 | (http://www.deliantra.net). |
28 | |
33 | |