Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

libevent

> 数据库
Open source

Event notification library

11.9K stars0 likes1 views
WebsiteGitHub

About

Event notification library

# 1. BUILDING AND INSTALLATION

CMake (Unix)

bash
mkdir build && cd build
cmake ..     # Default to Unix Makefiles.
make
make verify  # (optional)

See Documentation/Building#Building on Unix using CMake for more information.

CMake (Windows)

Install CMake: https://cmake.org/

bash
md build && cd build
cmake -G "Visual Studio 10" ..   # Or use any generator you want to use. Run cmake --help for a list
cmake --build . --config Release # Or "start libevent.sln" and build with menu in Visual Studio.

See Documentation/Building#Building on Windows for more information.

Package Managers

You can download and install libevent using the vcpkg dependency manager:

bash
git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
./vcpkg install libevent

The libevent port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please create an issue or pull request on the vcpkg repository.

Autoconf

Note, since 2.2 it is deprecated

bash
./configure
make
make verify   # (optional)
sudo make install

See Documentation/Building#Autoconf for more information.

2. USEFUL LINKS:

For the latest released version of Libevent, see the official website at https://libevent.org/ .

There's a pretty good work-in-progress manual up at http://www.wangafu.net/~nickm/libevent-book/ .

For the latest development versions of Libevent, access our Git repository via

bash
$ git clone https://github.com/libevent/libevent.git

You can browse the git repository online at:

https://github.com/libevent/libevent

To report bugs, issues, or ask for new features:

Patches: https://github.com/libevent/libevent/pulls

OK, those are not really patches. You fork, modify, and hit the "Create Pull Request" button. You can still submit normal git patches via the mailing list.

Bugs, Features [RFC], and Issues: https://github.com/libevent/libevent/issues

Or you can do it via the mailing list.

There's also a libevent-users mailing list for talking about Libevent use and development:

https://archives.seul.org/libevent/users/

3. ACKNOWLEDGMENTS

The following people have helped with suggestions, ideas, code or fixing bugs.

Issues· 162 open

View all issuesOpen on GitHub
  • #1895

    Could the tarball name be simplified, e. g. the suffix '-stable' removed?

    Updated Sep 3, 2026
  • #1858

    Compilation failure with gcc 14.2 and Mbed-TLS and aarch64 CPU type

    Updated Aug 29, 2026
  • #1904

    NUL byte (%00) URI truncation

    Updated Aug 12, 2026
  • #1696

    HTTP parser does not properly strip spaces and tabs from the beginnings of header values

    prio:accepting-patchesUpdated Aug 7, 2026
  • #1896

    Backports of the 2.1.13-stable security fixes to 2.1.12-stable?

    Updated Jul 17, 2026
  • #1864

    Adding SPDX-License-Identifiers to header

    Updated Jul 4, 2026
  • #1894

    Missing trust path between 2.1.12 and 2.1.13

    Updated Jul 2, 2026
  • #1838

    Bindings for Nim language

    Updated Jul 2, 2026
  • #1019

    io_uring support for linux 5.1+

    libevent-2.2prio:accepting-patchesUpdated May 30, 2026
  • #1857

    Leak when using libevent and pthread

    Updated May 25, 2026

> Tags

Casyncccross-platformnetworking

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 28, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库