libevent

Rating: 
5
Your rating: None Average: 5 (1 vote)

The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Furthermore, libevent also support callbacks due to signals or regular timeouts.

libevent is meant to replace the event loop found in event driven network servers. An application just needs to call event_dispatch() and then add or remove events dynamically without having to change the event loop.

Currently, libevent supports /dev/poll, kqueue(2), event ports, POSIX select(2), Windows select(), poll(2), and epoll(4). The internal event mechanism is completely independent of the exposed event API, and a simple update of libevent can provide new functionality without having to redesign the applications. As a result, Libevent allows for portable application development and provides the most scalable event notification mechanism available on an operating system. Libevent can also be used for multi-threaded applications, either by isolating each event_base so that only a single thread accesses it, or by locked access to a single shared event_base. Libevent should compile on Linux, *BSD, Mac OS X, Solaris, Windows, and more.

Libevent additionally provides a sophisticated framework for buffered network IO, with support for sockets, filters, rate-limiting, SSL, zero-copy file transmission, and IOCP. Libevent includes support for several useful protocols, including DNS, HTTP, and a minimal RPC framework.

Category:

Application versions: 
AttachmentSizeDate
File libevent-2.0.21-0.armv7hl.rpm745.67 KB19/02/2014 - 09:52
File libevent-2.1.8-10.2.1.jolla_.armv7hl.rpm496.02 KB13/11/2017 - 19:36
File libevent-2.1.8-10.2.2.jolla_.armv7hl.rpm495.39 KB10/02/2018 - 13:00
Changelog: 

(none)

Comments

debexpert's picture

Guys I have installed openssl and libevent, now missing libcrypto, where I find it? 

Thanks