Thu Oct 9 11:31:40 2014 UTC ()
|fmt


(wiz)
diff -r1.2 -r1.3 pkgsrc/devel/libevent/DESCR

cvs diff -r1.2 -r1.3 pkgsrc/devel/libevent/DESCR (expand / switch to unified diff)

--- pkgsrc/devel/libevent/DESCR 2014/10/09 11:19:57 1.2
+++ pkgsrc/devel/libevent/DESCR 2014/10/09 11:31:40 1.3
@@ -1,19 +1,21 @@ @@ -1,19 +1,21 @@
1The libevent API provides a mechanism to execute a callback function when a 1The libevent API provides a mechanism to execute a callback function
2specific event occurs on a file descriptor or after a timeout has been 2when a specific event occurs on a file descriptor or after a timeout
3reached. Furthermore, libevent also support callbacks due to signals or 3has been reached. Furthermore, libevent also support callbacks due
4 regular timeouts. 4to signals or regular timeouts.
5 5
6libevent is meant to replace the asynchronous event loop found in event 6libevent is meant to replace the asynchronous event loop found in
7driven network servers. An application just needs to call event_dispatch() 7event driven network servers. An application just needs to call
8and can then add or remove events dynamically without having to change the 8event_dispatch() and can then add or remove events dynamically
9event loop. 9without having to change the event loop.
10 10
11Currently, libevent supports /dev/poll, kqueue(2), event ports, select(2), 11Currently, libevent supports /dev/poll, kqueue(2), event ports,
12poll(2), and epoll(4). The internal event mechanism is completely independent 12select(2), poll(2), and epoll(4). The internal event mechanism is
13of the exposed event API, and a simple update of libevent can provide new 13completely independent of the exposed event API, and a simple update
14functionality without having to redesign the applications. 14of libevent can provide new functionality without having to redesign
 15the applications.
15 16
16Libevent additionally provides a sophisticated framework for buffered network 17Libevent additionally provides a sophisticated framework for buffered
17IO, with support for sockets, filters, rate-limiting, SSL, zero-copy file 18network IO, with support for sockets, filters, rate-limiting, SSL,
18transmission, and IOCP. Libevent includes support for several useful protocols, 19zero-copy file transmission, and IOCP. Libevent includes support
19including DNS, HTTP, and a minimal RPC framework. 20for several useful protocols, including DNS, HTTP, and a minimal
 21RPC framework.